Skip to content

Update

Update #221

Workflow file for this run

name: Update
on:
workflow_dispatch:
inputs:
input:
required: true
type: string
workflow_call:
inputs:
input:
required: true
type: string
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{secrets.GITHUB_TOKEN}}
extra_nix_config: |
access-tokens = github.com=${{secrets.PAT}}
- name: Update
run: nix flake lock --update-input ${{inputs.input}}
- name: Commit
run: |
git config user.name lpm-automaton
git config user.email [email protected]
git add -u
git commit -m "Update ${{inputs.input}}"
git push