feat: flake update workflow (#1)
Co-authored-by: KoenDR06 <koen.de.ruiter@hotmail.com> Co-committed-by: KoenDR06 <koen.de.ruiter@hotmail.com>
This commit is contained in:
parent
bdb287e492
commit
dfcea20497
3 changed files with 26 additions and 8 deletions
14
.forgejo/workflows/update-flake.yml
Normal file
14
.forgejo/workflows/update-flake.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
on:
|
||||
schedule:
|
||||
- cron: "0 3 * * sun" # Runs every 3AM on sunday
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: git config --global user.name "flake-updater"
|
||||
- run: git config --global user.email "runner@git.koendev.nl"
|
||||
- run: nix flake update --extra-experimental-features nix-command --extra-experimental-features flakes
|
||||
- run: git commit flake.lock -m "Update flake.lock"
|
||||
- run: git push
|
||||
Loading…
Add table
Add a link
Reference in a new issue