2022-01-07 20:17:15 +00:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
2022-01-07 20:36:33 +00:00
|
|
|
- cron: '0 0 * * 1,4' # Run twice a week
|
2022-01-07 20:17:15 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-03-07 23:12:51 +00:00
|
|
|
uses: actions/checkout@v3
|
2022-01-07 20:17:15 +00:00
|
|
|
- name: Install Nix
|
2023-06-19 23:57:22 +00:00
|
|
|
uses: cachix/install-nix-action@v22
|
2023-01-02 10:09:55 +00:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
2022-01-07 20:17:15 +00:00
|
|
|
- name: Update flake.lock
|
2023-04-10 23:57:27 +00:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v19
|
2022-01-13 08:00:12 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
2023-06-12 04:41:43 +00:00
|
|
|
pr-labels: | # Labels to be set on the PR
|
|
|
|
merge-queue
|