nixos/.forgejo/workflows/update_input.yaml
silver eb57664cab fix: set the url of the external plugin correctly
Signed-off-by: silver <silver@skynet.ie>
2024-08-07 00:05:08 +00:00

22 lines
No EOL
561 B
YAML

on:
workflow_dispatch:
inputs:
input_to_update:
description: 'Flake input to update'
required: true
type: string
jobs:
update:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
- run: nix flake update "${{ inputs.input_to_update }}"
shell: bash
- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5