Flake.lock: update Nix dependencies (Verified) #100
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: "Flake.lock: update Nix dependencies" | |
| on: | |
| workflow_dispatch: # allows manual triggering | |
| schedule: | |
| - cron: "0 0 * * 0" # runs weekly on Sunday at 00:00 | |
| jobs: | |
| nix-flake-update: | |
| permissions: | |
| contents: write | |
| id-token: write | |
| issues: write | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install Nix | |
| uses: DeterminateSystems/determinate-nix-action@v3 | |
| - name: Check Nix flake inputs | |
| uses: DeterminateSystems/flake-checker-action@v12 | |
| with: | |
| ignore-missing-flake-lock: false | |
| fail-mode: true | |
| - name: Update flake.lock | |
| if: ${{ github.event_name != 'pull_request' }} | |
| uses: DeterminateSystems/update-flake-lock@v27 | |
| with: | |
| inputs: nixpkgs nix-filter | |
| #- name: Run flake-update | |
| # run: | | |
| # nix flake update | |
| #- uses: stefanzweifel/git-auto-commit-action@v7 | |
| # with: | |
| # commit_message: "chore(lockfile): auto update flake.lock" | |
| # commit_user_name: "github-actions[bot]" | |
| # commit_user_email: "41898282+github-actions[bot]@users.noreply.github.com" | |
| # commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" | |
| # file_pattern: "flake.lock" |