nixconf/.gitea/workflows/auto-update.yaml
Deepak Mallubhotla 1775d628c5
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
Test templates, puts into cache / nix (nix-runner) (push) Successful in 5m10s
ci: should check after doing the update
2025-03-22 19:37:49 -05:00

27 lines
879 B
YAML

name: Bump flake.lock
on:
schedule:
- cron: "41 4 * * *"
workflow_dispatch:
jobs:
build:
runs-on: nix-runner
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v20
- run: nix flake update
- run: nix flake check
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Bump flake.lock
branch: flake-update
commit_options: '--no-verify --signoff'
file_pattern: flake.lock
commit_user_name: Flake Bot # defaults to "GitHub Actions"
#commit_user_email: my-github-actions-bot@example.org # defaults to "actions@github.com"
commit_author: Flake Bot <actions@github.com> # defaults to author of the commit that triggered the run
skip_dirty_check: false
skip_fetch: true