-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 1.06 KB
/
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
32
33
34
35
36
37
38
39
name: 'Update flake.lock'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1,4' # twice a week
defaults:
run:
shell: 'bash'
env:
PR-REVIEWER: 'o-az'
ACTIONS_RUNNER_DEBUG: 1
jobs:
update-lockfile:
runs-on: ['ubuntu-latest']
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
steps:
- name: 'Checkout repository'
uses: actions/checkout@v4
- name: 'Install Nix'
uses: DeterminateSystems/nix-installer-action@main
- name: 'Enable magic Nix cache'
uses: DeterminateSystems/magic-nix-cache-action@main
- name: 'Update flake.lock'
uses: DeterminateSystems/update-flake-lock@main
with:
pr-assignees: ${{ env.PR-REVIEWER }}
pr-reviewers: ${{ env.PR-REVIEWER }}
git-committer-name: ${{ secrets.AUTHOR_NAME }}
git-author-email: ${{ secrets.AUTHOR_EMAIL }}
git-author-name: ${{ secrets.AUTHOR_NAME }}
git-committer-email: ${{ secrets.AUTHOR_EMAIL }}
gpg-private-key: ${{ secrets.SIGNING_KEY }}