github action to update inputs
This commit is contained in:
parent
5d9be275d2
commit
b1ba02dacc
1 changed files with 28 additions and 0 deletions
28
.github/workflows/update-inputs.yml
vendored
Normal file
28
.github/workflows/update-inputs.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Update inputs
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-inputs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Update Inputs
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ github.token }}
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
- uses: cachix/install-nix-action@v20
|
||||||
|
with:
|
||||||
|
github_access_token: ${{ github.token }}
|
||||||
|
- name: Update inputs
|
||||||
|
run: |
|
||||||
|
nix flake update
|
||||||
|
- name: Commit changes
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
message: 'Actions: Update Inputs'
|
||||||
|
default_author: github_actions
|
||||||
|
add: 'flake.lock'
|
Loading…
Reference in a new issue