2022-02-27 15:13:05 +03:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
2022-08-11 17:02:31 +03:00
|
|
|
- cron: '0 0 1 * *' # runs on the first of every month 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-23 09:26:31 +03:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v13
|
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
|