Bump flake.lock #309
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: Bump flake.lock | |
on: | |
schedule: | |
- cron: "0 9 * * *" | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- run: nix flake update | |
- run: nix flake check --show-trace | |
- 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_user_email: [email protected] # defaults to "[email protected]" | |
commit_author: Flake Bot <[email protected]> # defaults to author of the commit that triggered the run | |
skip_dirty_check: false | |
skip_fetch: true | |
- run: git checkout -b auto-update && git reset --hard origin/main && git push origin auto-update -f |