2022-02-27 15:13:05 +03:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00: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-03-13 14:56:32 +03:00
|
|
|
uses: cachix/install-nix-action@v16
|
2022-02-27 15:13:05 +03:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Update flake.lock
|
2022-02-28 11:17:16 +03:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v8
|
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
|