on: push: branches: 'master' schedule: - cron: '0 2 * * *' jobs: lockfile: runs-on: docker container.image: nixos/nix steps: - name: checkout uses: actions/checkout@v4 - name: Update flake.lock run: 'nix flake update; git add flake.lock; git commit -m "flake.lock: Update"; git push'