Skip to content

Commit 4ecc07c

Browse files
committed
add branch selection for github-push-action
1 parent 9b15d32 commit 4ecc07c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ inputs:
99
description: 'GitHub Token to use instead of the default one.'
1010
required: false
1111
default: ${{ github.token }}
12+
branch:
13+
description: 'Destination branch to push changes.'
14+
required: false
15+
default: ${{ github.ref }}
1216
outputs:
1317
bumped:
1418
description: 'Whether there was a bump or not [true|false]'
@@ -54,4 +58,5 @@ runs:
5458
uses: ad-m/github-push-action@master
5559
with:
5660
github_token: ${{ inputs.github-token }}
61+
branch: ${{ inputs.branch }}
5762
force: true

0 commit comments

Comments
 (0)