2024-01-04 21:51:35 +05:30
|
|
|
name: Update inputs
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2024-06-01 14:08:56 +05:30
|
|
|
- cron: "0 0 * * 5"
|
2024-01-04 21:51:35 +05:30
|
|
|
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'
|