feat: flake update workflow #1
1 changed files with 14 additions and 0 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