2024-10-27 23:04:27 +05:30
|
|
|
name: Update Inputs
|
2024-10-24 00:58:45 +05:30
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * 5"
|
|
|
|
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'
|