Add flake-dirs input

This commit is contained in:
Luc Perkins 2024-05-23 15:16:12 -03:00
parent 222f041780
commit 6a1287939f
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
4 changed files with 67 additions and 7 deletions

View file

@ -23,6 +23,11 @@ inputs:
path-to-flake-dir:
description: "The path of the directory containing `flake.nix` file within your repository. Useful when `flake.nix` cannot reside at the root of your repository."
required: false
flake-dirs:
description: |
A space-separated list of directories containing `flake.nix` files within your repository. Useful when you have multiple flakes in your repository.
required: false
default: ""
pr-title:
description: "The title of the PR to be created"
required: false
@ -164,6 +169,7 @@ runs:
INPUT_INPUTS: ${{ inputs.inputs }}
INPUT_NIX-OPTIONS: ${{ inputs.nix-options }}
INPUT_PATH-TO-FLAKE-DIR: ${{ inputs.path-to-flake-dir }}
INPUT_FLAKE-DIRS: ${{ inputs.flake-dirs }}
INPUT_PR-ASSIGNEES: ${{ inputs.pr-assignees }}
INPUT_PR-BODY: ${{ inputs.pr-body }}
INPUT_PR-LABELS: ${{ inputs.pr-labels }}