meta: add flake.lock update action
This commit is contained in:
parent
46b8912b2b
commit
8a5b40e044
1 changed files with 18 additions and 0 deletions
18
.github/workflows/update-flake-lock.yaml
vendored
Normal file
18
.github/workflows/update-flake-lock.yaml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
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
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v16
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v13
|
||||
with:
|
||||
pr-title: "Update flake.lock" # Title of PR to be created
|
Loading…
Reference in a new issue