Flake.lock: update Nix dependencies #2
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: | |
| - uses: actions/checkout@v4 | |
| - uses: DeterminateSystems/determinate-nix-action@v3 | |
| - name: Update flake.lock | |
| if: ${{ github.event_name != 'pull_request' }} | |
| uses: DeterminateSystems/update-flake-lock@main | |
| with: | |
| pr-title: "Update Nix flake inputs" # Title of PR to be created | |
| pr-labels: | # Labels to be set on the PR | |
| dependencies | |
| automated | |
| token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} | |
| - name: Print PR number | |
| run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}. |