mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 16:31:54 -05:00
37 lines
984 B
YAML
37 lines
984 B
YAML
name: "flake.lock: update"
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 6 * * *"
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: cachix/install-nix-action@v20
|
|
|
|
- name: Update inputs in flake.lock
|
|
run: nix flake update
|
|
|
|
- name: Check if flake still evaluates
|
|
run: nix flake check
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: "flake.lock: update"
|
|
branch: master
|
|
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
|