File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -11,25 +11,27 @@ This is a GitHub Action that updates the [`flake.lock`][lockfile] file for your
1111Here's an example GitHub Action workflow using this Action:
1212
1313``` yaml
14- name : update-flake- lock
14+ name : Flake. lock: update Nix dependencies
1515
1616on :
1717 workflow_dispatch : # allows manual triggering
1818 schedule :
1919 - cron : ' 0 0 * * 0' # runs weekly on Sunday at 00:00
2020
2121jobs :
22- lockfile :
22+ nix-flake-update :
23+ permissions :
24+ contents : write
25+ id-token : write
26+ issues : write
27+ pull-requests : write
2328 runs-on : ubuntu-latest
2429 steps :
25- - name : Checkout repository
26- uses : actions/checkout@v4
27- - name : Install Determinate Nix
28- uses : DeterminateSystems/determinate-nix-action@v3
29- - name : Update flake.lock
30- uses : DeterminateSystems/update-flake-lock@main
30+ - uses : actions/checkout@v4
31+ - uses : DeterminateSystems/determinate-nix-action@v3
32+ - uses : DeterminateSystems/update-flake-lock@main
3133 with :
32- pr-title : " Update flake.lock " # Title of PR to be created
34+ pr-title : " Update Nix flake inputs " # Title of PR to be created
3335 pr-labels : | # Labels to be set on the PR
3436 dependencies
3537 automated
You can’t perform that action at this time.
0 commit comments