2023-01-04 14:02:49 +00:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 1,4' # Run twice a week
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Nix
|
2023-05-29 20:09:37 +00:00
|
|
|
uses: cachix/install-nix-action@v21
|
2023-01-04 14:02:49 +00:00
|
|
|
- name: Update flake.lock
|
2023-04-10 20:03:37 +00:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v19
|
2023-01-04 14:02:49 +00:00
|
|
|
with:
|
2023-01-23 08:29:14 +00:00
|
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
2023-01-23 08:06:47 +00:00
|
|
|
pr-body: |
|
|
|
|
Automated changes by the update-flake-lock
|
|
|
|
```
|
|
|
|
{{ env.GIT_COMMIT_MESSAGE }}
|
|
|
|
```
|
|
|
|
bors merge
|