adtya.xyz/.github/workflows/update-inputs.yml

29 lines
665 B
YAML
Raw Permalink Normal View History

2023-11-06 01:28:02 +05:30
name: Update inputs
on:
schedule:
2024-07-01 22:15:31 +05:30
- cron: "0 0 * * 5"
2023-11-06 01:28:02 +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'