-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 887 Bytes
/
update-flake.yml
File metadata and controls
28 lines (26 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Update flake
on:
schedule:
# every sunday at 8am UTC
- cron: '0 8 * * 0'
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - uses: cachix/cachix-action@v16
- uses: cachix/cachix-action@v16
with:
name: yuanw-blog
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
# Only needed for private caches
#authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v28
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
automated - run: GITHUB_PATH= nix flake update