Flake update #23
This file contains 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 update | |
on: | |
schedule: | |
- cron: "0 0 * * 4" | |
workflow_dispatch: | |
jobs: | |
build: | |
# if: false | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Update the flake | |
run: nix flake update | |
- name: Run flake check | |
run: nix flake check | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Bump flake.lock | |
branch: main | |
commit_options: '--no-verify --signoff' | |
file_pattern: flake.lock | |
commit_user_name: Flake Bot # defaults to "GitHub Actions" | |
commit_author: Flake Bot <actions@github.com> # defaults to author of the commit that triggered the run | |
skip_dirty_check: false | |
skip_fetch: true |