Skip to content

Commit abd2cbe

Browse files
committed
github: implement flake.lock update
1 parent ac320ca commit abd2cbe

File tree

2 files changed

+28
-24
lines changed

2 files changed

+28
-24
lines changed

.github/flake.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/flake.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
19+
- uses: DeterminateSystems/determinate-nix-action@v3
20+
- name: Update flake.lock
21+
id: flake-upd
22+
uses: DeterminateSystems/update-flake-lock@v25
23+
with:
24+
pr-title: "Update flake.lock to nixpkgs ${{ steps.flake-upd.outputs.commit-hash }}"
25+
pr-labels: |
26+
dependencies
27+
pr-rebase: true
28+

0 commit comments

Comments
 (0)