Skip to content

Commit

Permalink
feat: add action input for pull request labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm1t committed Sep 17, 2024
1 parent bde0471 commit 88bc0fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ inputs:
release-workflow:
description: "Name of the release workflow to trigger"
required: false

pull-request-labels:
description: "Comma separated or newline-separated list of labels to add to the pull request"
required: false

runs:
using: "composite"
Expand Down Expand Up @@ -102,7 +106,7 @@ runs:
branch: release/${{ steps.latest.outputs.output }}
commit-message: Release ${{ steps.latest.outputs.output }}
token: ${{ inputs.github-token }}
labels: release
labels: ${{ inputs.pull-request-labels }}
body: |
This PR was created by the [Changie release GitHub action](https://github.com/labd/changie-release-action). When you're ready to do a release, you can merge this and the tag ${{ steps.latest.outputs.output }} will be created${{ inputs.release-workflow != '' && format(' and the {0} workflow will be started', inputs.release-workflow) || '' }}. If you're not ready to do a release yet, that's fine, whenever you add more changes to main, this PR will be updated.
Expand Down

0 comments on commit 88bc0fd

Please sign in to comment.