-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1018 Bytes
/
update-flake-lock.yml
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
29
30
31
name: Maintenance
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # runs monthly at 00:00
permissions:
pull-requests: write
contents: write
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- name: Install Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@db4ee38117a597ea8df8f7f75a187dd65093eade # v23
with:
pr-title: "chore(deps): update flake.lock"
pr-body: |
automated changes by DeterminateSystems/update-flake-lock
```
{{ env.GIT_COMMIT_MESSAGE }}
```
pr-labels: |
dependencies