Skip to content

Commit 2cdf86e

Browse files
automate updating nix flakes (#35641)
1 parent 1d4b848 commit 2cdf86e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: cron-flake-updater
2+
3+
on:
4+
workflow_dispatch:
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+
issues: write
13+
pull-requests: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
- uses: DeterminateSystems/determinate-nix-action@v3
18+
- uses: DeterminateSystems/update-flake-lock@main
19+
with:
20+
pr-title: "Update Nix flake"
21+
pr-labels: |
22+
dependencies

0 commit comments

Comments
 (0)