Skip to content

Commit d1acdd6

Browse files
authored
workflow: flake
1 parent e9a0ea4 commit d1acdd6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/flake.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Flake.lock: update Nix dependencies"
2+
3+
on:
4+
workflow_dispatch: # allows manual triggering
5+
schedule:
6+
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
7+
8+
jobs:
9+
nix-flake-update:
10+
permissions:
11+
contents: write
12+
id-token: write
13+
issues: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
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

0 commit comments

Comments
 (0)