Skip to content

Commit 03afc62

Browse files
authored
Merge pull request #1353 from peterbecich/automatic-nix-flake-update
GitHub Action to update Nix Flake lock
2 parents 8882476 + 92f2970 commit 03afc62

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+
# https://github.com/DeterminateSystems/update-flake-lock
2+
name: update-flake-lock
3+
on:
4+
workflow_dispatch: # allows manual triggering
5+
schedule:
6+
- cron: '0 0 1 * *' # runs on first day of the month
7+
8+
jobs:
9+
lockfile:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
- name: Install Nix
15+
uses: DeterminateSystems/nix-installer-action@main
16+
- name: Update flake.lock
17+
uses: DeterminateSystems/update-flake-lock@main
18+
with:
19+
pr-title: "Update flake.lock" # Title of PR to be created
20+
pr-labels: | # Labels to be set on the PR
21+
dependencies
22+
automated

0 commit comments

Comments
 (0)