2024-07-03 17:07:40 -04:00
|
|
|
name: "nix"
|
2024-03-03 19:38:53 -05:00
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 6 * * *"
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
2024-07-03 17:07:40 -04:00
|
|
|
update-inputs:
|
2024-03-03 19:38:53 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
2024-06-13 22:03:57 -04:00
|
|
|
fetch-depth: 1
|
2024-03-03 19:38:53 -05:00
|
|
|
- uses: cachix/install-nix-action@v20
|
2024-07-03 17:07:40 -04:00
|
|
|
- name: update inputs in flake.lock
|
2024-03-05 01:31:38 -05:00
|
|
|
run: nix flake update
|
2024-07-03 17:07:40 -04:00
|
|
|
- name: check if flake evaluates
|
2024-03-05 01:31:38 -05:00
|
|
|
run: nix flake check
|
2024-03-04 21:47:28 -05:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
2024-03-03 19:38:53 -05:00
|
|
|
with:
|
2024-07-03 17:07:40 -04:00
|
|
|
commit_message: "flake: update inputs"
|
2024-03-04 21:47:28 -05:00
|
|
|
branch: master
|
2024-03-03 19:38:53 -05:00
|
|
|
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
|
2024-07-03 17:07:40 -04:00
|
|
|
skip_dirty_check: false
|
2024-03-03 19:38:53 -05:00
|
|
|
skip_fetch: true
|