allow to run CI from flake lock update
This commit is contained in:
parent
24c9a07dd0
commit
b4ba717e33
1 changed files with 3 additions and 3 deletions
6
.github/workflows/lock-update.yaml
vendored
6
.github/workflows/lock-update.yaml
vendored
|
@ -1,7 +1,6 @@
|
|||
name: update-flake-lock
|
||||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
pull_request: # triggers on every Pull Request
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 * * * 0' # runs daily at 00:00
|
||||
|
||||
|
@ -17,5 +16,6 @@ jobs:
|
|||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
|
||||
- name: Update flake.lock
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
uses: DeterminateSystems/update-flake-lock@main
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
|
|
Loading…
Reference in a new issue