File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed
Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change 1- name : update-flake-lock
1+ name : " Flake.lock: update Nix dependencies"
2+
23on :
3- workflow_dispatch :
4+ workflow_dispatch : # allows manual triggering
45 schedule :
5- - cron : " 0 0 * * 0"
6+ - cron : ' 0 0 * * 0' # runs weekly on Sunday at 00:00
67
78jobs :
8- lockfile :
9- runs-on : ubuntu-22.04
9+ nix-flake-update :
1010 permissions :
11- id-token : " write"
12- contents : " read"
11+ contents : write
12+ id-token : write
13+ issues : write
14+ pull-requests : write
15+ runs-on : ubuntu-latest
1316 steps :
14- - name : Checkout
15- uses : actions/checkout@v4
16- - name : Install Nix
17- uses : DeterminateSystems/determinate-nix-action@main
18- - name : Enable FlakeHub Cache
19- uses : DeterminateSystems/flakehub-cache-action@main
20- - name : Check flake
21- uses : DeterminateSystems/flake-checker-action@main
22- - name : Update flake.lock
23- uses : DeterminateSystems/update-flake-lock@main
17+ - uses : actions/checkout@v4
18+ - uses : DeterminateSystems/determinate-nix-action@v3
19+ - uses : DeterminateSystems/update-flake-lock@main
20+ with :
21+ pr-title : " Update Nix flake inputs" # Title of PR to be created
22+ pr-labels : | # Labels to be set on the PR
23+ dependencies
24+ automated
You can’t perform that action at this time.
0 commit comments