Add workflow to update lockfile

This commit is contained in:
Nathan McCarty 2022-04-21 15:02:41 -04:00
parent 92683a10db
commit fbff385905
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 20 additions and 0 deletions

20
.github/workflows/update_flake.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 1' # runs weekly on monday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v16
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v8
with:
pr-title: "Update flake.lock" # Title of PR to be created