Skip to content

Commit 1f7ec32

Browse files
committed
workflow: implement flake.lock update
1 parent ac320ca commit 1f7ec32

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/flake.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Weekly flake.lock update
2+
3+
on:
4+
schedule:
5+
- cron: '0 11 * * 4'
6+
workflow_dispatch:
7+
8+
jobs:
9+
update-flake:
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+
- name: get date
19+
id: date
20+
run: echo "date=$(date '+%B %d, %Y')" >> $GITHUB_OUTPUT
21+
22+
- uses: DeterminateSystems/determinate-nix-action@v3
23+
- name: Update flake.lock
24+
id: flake-upd
25+
uses: DeterminateSystems/update-flake-lock@v25
26+
with:
27+
pr-title: "Update flake.lock on ${{ steps.date.outputs.date }}"
28+
pr-labels: |
29+
dependencies
30+
nix

0 commit comments

Comments
 (0)