Skip to content

Commit 088360c

Browse files
committed
chore(ci): Add CI job to update flake dependencies
1 parent 1ae8794 commit 088360c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/update-flake.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Update flake dependencies
2+
3+
on:
4+
schedule:
5+
- cron: '0 16 * * 5'
6+
workflow_dispatch: # for allowing manual triggers of the workflow
7+
8+
jobs:
9+
update-dependencies:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: DeterminateSystems/nix-installer-action@main
14+
- uses: DeterminateSystems/magic-nix-cache-action@main
15+
- name: update flake.lock
16+
run: nix flake update
17+
- name: Create Pull Request
18+
uses: peter-evans/create-pull-request@v6
19+
with:
20+
commit-message: "flake: update dependencies"
21+
title: "[automation] update flake dependencies"
22+
branch: "automation/update-flake-dependencies"

0 commit comments

Comments
 (0)