Skip to content

Commit

Permalink
add branch selection for github-push-action
Browse files Browse the repository at this point in the history
  • Loading branch information
aleduvia-cs committed Dec 12, 2024
1 parent 9b15d32 commit 4ecc07c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ inputs:
description: 'GitHub Token to use instead of the default one.'
required: false
default: ${{ github.token }}
branch:
description: 'Destination branch to push changes.'
required: false
default: ${{ github.ref }}
outputs:
bumped:
description: 'Whether there was a bump or not [true|false]'
Expand Down Expand Up @@ -54,4 +58,5 @@ runs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ inputs.github-token }}
branch: ${{ inputs.branch }}
force: true

0 comments on commit 4ecc07c

Please sign in to comment.