Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add branch selection for github-push-action #261

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading