.github/workflows/flake-updates-input.yml: rename, add input
This commit is contained in:
parent
69f3f50ac2
commit
2653c69cca
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,12 @@
|
||||||
name: "Update flakes - nixpkgs-update"
|
name: "Update flakes - input"
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
flakeInput:
|
||||||
|
description: "flake input to update"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
jobs:
|
jobs:
|
||||||
createPullRequest:
|
createPullRequest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -17,7 +22,7 @@ jobs:
|
||||||
id: update
|
id: update
|
||||||
uses: DeterminateSystems/update-flake-lock@v20
|
uses: DeterminateSystems/update-flake-lock@v20
|
||||||
with:
|
with:
|
||||||
inputs: nixpkgs-update
|
inputs: ${{ inputs.flakeInput }}
|
||||||
- name: Enable Automerge
|
- name: Enable Automerge
|
||||||
run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
|
run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
|
||||||
env:
|
env:
|
Loading…
Add table
Add a link
Reference in a new issue