This commit is contained in:
parent
ac33f815bf
commit
43414b5c7e
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/update-lock.yml
Normal file
21
.forgejo/workflows/update-lock.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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@v3
|
||||||
|
- name: Install Nix
|
||||||
|
uses: https://git.sysctl.io/actions/nix-installer-action@main
|
||||||
|
- name: Update flake.lock
|
||||||
|
uses: https://git.sysctl.io/actions/update-flake-lock@main
|
||||||
|
with:
|
||||||
|
pr-title: "Update flake.lock" # Title of PR to be created
|
||||||
|
pr-labels: | # Labels to be set on the PR
|
||||||
|
dependencies
|
||||||
|
automated
|
Loading…
Reference in a new issue