From 922ee1596b685da7fb850a8f119e23dceaf6a12f Mon Sep 17 00:00:00 2001 From: Javier Julio Date: Thu, 25 Aug 2022 14:07:30 -0400 Subject: [PATCH] Add `labels` action argument with default (#2) This maintains the same value (automerge) as before so its a non breaking change. This allows us to override what labels are set or not set any. --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e5a022d..7ef32e2 100644 --- a/action.yml +++ b/action.yml @@ -23,6 +23,10 @@ inputs: source-repo: description: 'Source repository for the image that was built' required: true + labels: + description: 'A comma or newline separated list of labels.' + required: true + default: "automerge" runs: using: "composite" steps: @@ -56,7 +60,7 @@ runs: This PR is auto-generated. - labels: automerge + labels: ${{ inputs.labels }} - uses: actions/checkout@v3 with: