Skip to content

Commit 367f3e9

Browse files
committed
ci: add doc/ flake lock updater
1 parent 200b353 commit 367f3e9

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: update-flake-lock-doc
2+
on:
3+
workflow_dispatch: # allows manual triggering
4+
schedule:
5+
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
6+
7+
jobs:
8+
doc-lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
- name: Install Nix
14+
uses: DeterminateSystems/nix-installer-action@main
15+
- name: Update flake.lock
16+
uses: DeterminateSystems/update-flake-lock@main
17+
with:
18+
pr-title: "Update doc/flake.lock"
19+
pr-labels: |
20+
automated
21+
path-to-flake-dir: 'doc/'

.github/workflows/update-flake-lock.yaml renamed to .github/workflows/update-flake-lock-example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: update-flake-lock
1+
name: update-flake-lock-example
22
on:
33
workflow_dispatch: # allows manual triggering
44
schedule:
55
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
66

77
jobs:
8-
lockfile:
8+
example-lock:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repository

0 commit comments

Comments
 (0)