Skip to content

Commit

Permalink
Add labels action argument with default (#2)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
javierjulio authored Aug 25, 2022
1 parent 1592b4d commit 922ee15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -56,7 +60,7 @@ runs:
This PR is auto-generated.
labels: automerge
labels: ${{ inputs.labels }}

- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 922ee15

Please sign in to comment.