2022-02-27 15:13:05 +03:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
2022-08-11 17:01:55 +03:00
|
|
|
- cron: '0 0 1 * *' # runs weekly on Sunday at 00:00
|
2022-02-27 15:13:05 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-03-03 19:42:54 +03:00
|
|
|
uses: actions/checkout@v3
|
2022-02-27 15:13:05 +03:00
|
|
|
- name: Install Nix
|
2022-04-11 20:19:10 +03:00
|
|
|
uses: cachix/install-nix-action@v17
|
2022-02-27 15:13:05 +03:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Update flake.lock
|
2022-08-01 11:16:22 +03:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v12
|
2022-03-13 15:26:56 +03:00
|
|
|
with:
|
2022-03-21 13:35:58 +03:00
|
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
2022-03-13 15:26:56 +03:00
|
|
|
pr-labels: |
|
|
|
|
dependencies
|
|
|
|
nix
|