5 Commits
v3 ... v4

Author SHA1 Message Date
958240e9be README: demonstrate a weekly flake.lock update
It's arguably not that useful to be inundated with flake.lock update PRs
every day, so do it once a week on Sunday.
2021-10-27 11:17:14 -07:00
d884d497b3 Include instructions on running workflows in the PR body 2021-10-27 09:55:02 -07:00
127c635f94 Include the text about the update action in the PR body 2021-10-27 09:55:02 -07:00
ae7e289a74 Update README.md
Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
2021-10-27 09:55:02 -07:00
7a2785317e Show how to run GitHub Actions CI workflows 2021-10-27 09:55:02 -07:00
2 changed files with 27 additions and 1 deletions

View File

@ -13,7 +13,7 @@ name: update-flake-lock
on: on:
workflow_dispatch: # allows manual triggering workflow_dispatch: # allows manual triggering
schedule: schedule:
- cron: '0 0 * * *' # runs daily at 00:00 - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs: jobs:
lockfile: lockfile:
@ -33,3 +33,15 @@ jobs:
uses: DeterminateSystems/update-flake-lock@v3 uses: DeterminateSystems/update-flake-lock@v3
``` ```
## Running GitHub Actions CI
GitHub Actions will not run workflows when a branch is pushed by or a PR is opened by a GitHub Action. To work around this, try:
```
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```

View File

@ -30,3 +30,17 @@ runs:
``` ```
${{ steps.commit_message.outputs.msg }} ${{ steps.commit_message.outputs.msg }}
``` ```
### Running GitHub Actions on this PR
GitHub Actions will not run workflows on pull requests which are opened by a GitHub Action.
To run GitHub Actions workflows on this PR, run:
```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```