2024-07-03 22:08:35 -04:00
|
|
|
name: "flake: update inputs"
|
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-07-03 21:34:19 -04:00
|
|
|
ref: ${{ github.head_ref }}
|
2024-06-13 22:03:57 -04:00
|
|
|
fetch-depth: 1
|
2024-07-03 21:34:19 -04:00
|
|
|
- name: "git: setup"
|
|
|
|
run: |
|
|
|
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
|
|
git config --local user.name "github-actions[bot]"
|
2024-03-03 19:38:53 -05:00
|
|
|
- uses: cachix/install-nix-action@v20
|
2024-07-03 21:34:19 -04:00
|
|
|
- name: "flake: update inputs"
|
|
|
|
run: nix flake update --commit-lock-file
|
|
|
|
- name: "flake: check eval"
|
2024-03-05 01:31:38 -05:00
|
|
|
run: nix flake check
|
2024-07-03 21:34:19 -04:00
|
|
|
- name: "git: push changes"
|
|
|
|
uses: ad-m/github-push-action@master
|
2024-03-03 19:38:53 -05:00
|
|
|
with:
|
2024-07-03 21:34:19 -04:00
|
|
|
branch: ${{ github.head_ref }}
|
|
|
|
|