name: Update flake.lock on: # https://forgejo.org/docs/latest/user/actions/#onschedule schedule: # - cron: "23 17 * * 1" - cron: "*/1 * * * *" jobs: update: runs-on: docker container: image: docker.io/nixos/nix:2.21.0 steps: - run: | git clone https://$GITHUB_ACTOR:$GITHUB_TOKEN@git.caspervk.net/caspervk/nixos.git git config user.email "snowflake@caspervk.net" git config user.name "snowflake" nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update --commit-lock-file git push