From 4ecc07cefa435964d0b1476cf95916c56885bdce Mon Sep 17 00:00:00 2001 From: Alessandro Duvia Date: Thu, 12 Dec 2024 12:31:23 +0100 Subject: [PATCH] add branch selection for github-push-action --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index ff3b628..b39e618 100644 --- a/action.yml +++ b/action.yml @@ -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]' @@ -54,4 +58,5 @@ runs: uses: ad-m/github-push-action@master with: github_token: ${{ inputs.github-token }} + branch: ${{ inputs.branch }} force: true