Skip to content

Commit

Permalink
Add additional options to action
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen authored Nov 27, 2024
1 parent 2e1abf4 commit 1dcdee1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/backport/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inputs:
REF_TO_BACKPORT:
description: The reference of the commit to be backported
required: true
BACKPORT_OPTIONS:
description: Additional options to pass through to the tool
required: false

env:
# Not possible to set this as a default
Expand Down Expand Up @@ -54,7 +57,8 @@ runs:
${GITHUB_ACTION_PATH}/../../../backport \
"${{ inputs.REF_TO_BACKPORT }}" \
"${backport_target_branch}" \
--non-interactive
--non-interactive \
${{ inputs.BACKPORT_OPTIONS }}
env:
GH_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 1dcdee1

Please sign in to comment.