diff --git a/.forgejo/workflows/update-flake.yml b/.forgejo/workflows/update-flake.yml new file mode 100644 index 0000000..33c9b7a --- /dev/null +++ b/.forgejo/workflows/update-flake.yml @@ -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