Create update flake workflow
This commit is contained in:
parent
947d778371
commit
cbfa0c1a77
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/update.yml
Normal file
17
.forgejo/workflows/update.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 2 * * *'
|
||||||
|
jobs:
|
||||||
|
lockfile:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
|
- run: 'git config --unset-all extensions.worktreeconfig'
|
||||||
|
- run: 'nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: Update"'
|
||||||
|
env:
|
||||||
|
GIT_AUTHOR_NAME: Chris Dombroski
|
||||||
|
GIT_AUTHOR_EMAIL: cdombroski@gmail.com
|
||||||
|
GIT_COMMITTER_NAME: Chris Dombroski
|
||||||
|
GIT_COMMITTER_EMAIL: cdombroski@gmail.com
|
||||||
|
- run: 'git push'
|
Loading…
Reference in a new issue