name: Update Flake on: schedule: - cron: '0 4 * * *' jobs: update-flake: runs-on: nix-amd64 permissions: contents: write steps: - uses: actions/checkout@v4 with: ref: master - name: Update dependencies run: | nix flake update env NIX_PATH=nixpkgs=$(nix flake metadata github:nixos/nixpkgs/nixos-unstable-small --json | jq -r .path) nix-shell ./home/programs/nvim/update-plugins.sh - uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 with: commit_message: "[automation] Update flake" commit_user_name: Actions Bot commit_user_email: daniel+actions-bot@kempkens.io commit_author: Actions Bot