Update Flake Deps #3230
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Update Flake Deps" | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 6 * * *' | |
| jobs: | |
| update-flake-deps: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.PAT }} | |
| - name: Install nix | |
| uses: cachix/install-nix-action@v20 | |
| with: | |
| extra_nix_config: | | |
| experimental-features = nix-command flakes | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Update flake deps | |
| run: nix flake update | |
| - name: Commit | |
| uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: "chore(deps): update flake deps" | |
| branch: master |