on: push: branches: 'master' schedule: - cron: '0 2 * * *' jobs: lockfile: runs-on: docker container.image: nixos/nix steps: - uses: actions/checkout@v4 - run: 'export PATH=/root/.nix-profile/bin; nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: Update"; git push'