mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2025-04-22 01:32:03 +03:00
Allow consumers to update specific flake inputs
This commit is contained in:
parent
8145cc6e00
commit
0f6e7d684e
2 changed files with 18 additions and 1 deletions
|
@ -1,9 +1,14 @@
|
|||
name: 'Update flake.lock'
|
||||
description: 'Update your flake.lock and send a PR'
|
||||
inputs:
|
||||
inputs:
|
||||
description: 'A space-separated list of inputs to update. Leave empty to update all inputs.'
|
||||
required: false
|
||||
default: ''
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: nix flake update --commit-lock-file
|
||||
- run: ./update-input-or-inputs.sh ${{ inputs.inputs }}
|
||||
shell: bash
|
||||
env:
|
||||
GIT_AUTHOR_NAME: github-actions[bot]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue