Skip to content

Commit c2408e5

Browse files
authored
Merge pull request #191 from DeterminateSystems/grahamc-patch-1
Update update-flake-lock
2 parents 10cfb1c + e619add commit c2408e5

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.github/workflows/update.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
name: update-flake-lock
1+
name: "Flake.lock: update Nix dependencies"
22

33
on:
4-
workflow_dispatch:
4+
workflow_dispatch: # allows manual triggering
55
schedule:
6-
- cron: "0 0 * * 0"
6+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
77

88
jobs:
9-
lockfile:
10-
runs-on: ubuntu-latest
9+
nix-flake-update:
1110
permissions:
11+
contents: write
1212
id-token: write
13-
contents: read
13+
issues: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
1416
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
- name: Install Determinate Nix
18-
uses: DeterminateSystems/determinate-nix-action@v3
19-
- name: Enable FlakeHub Cache
20-
uses: DeterminateSystems/flakehub-cache-action@main
21-
- name: Update flake.lock
22-
uses: ./.
17+
- uses: actions/checkout@v4
18+
- uses: DeterminateSystems/determinate-nix-action@v3
19+
- uses: DeterminateSystems/update-flake-lock@main
2320
with:
24-
_internal-strict-mode: true
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

flake.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)