Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit b800289

Browse files
committed
ci: add flake auto-update workflow
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent fde8b5d commit b800289

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/update.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Update
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
nix-update:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: nixbuild/nix-quick-install-action@v19
14+
with:
15+
nix_conf: |
16+
experimental-features = nix-command flakes
17+
access-tokens = github.com=${{ github.token }}
18+
- uses: jessestricker/nix-flake-update@v1
19+
id: nix-update
20+
- uses: peter-evans/create-pull-request@v4
21+
with:
22+
branch: nix-update
23+
commit-message: "build(nix): update flake lock"
24+
title: "build(nix): update flake lock"
25+
body: ${{ steps.nix-update.outputs.pull-request-body }}
26+
labels: dependencies, nix
27+
assignees: |
28+
rvolosatovs
29+
signoff: true

0 commit comments

Comments
 (0)