Skip to content

Commit e853b5a

Browse files
committed
Add nix-flake lock update github workflow
1 parent 063a508 commit e853b5a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# https://github.com/dependabot/dependabot-core/issues/7340
2+
3+
name: update-nix-flake-lock
4+
on:
5+
workflow_dispatch: # allows manual triggering
6+
schedule:
7+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
8+
9+
jobs:
10+
lockfile:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Install nix
17+
uses: nixbuild/nix-quick-install-action@v30
18+
19+
- name: Update flake.lock
20+
uses: DeterminateSystems/update-flake-lock@v24
21+
with:
22+
pr-title: "Update flake.lock" # Title of PR to be created
23+
pr-labels: |
24+
A-nix
25+
C-dependency

0 commit comments

Comments
 (0)