From cdf06efa5985347deb16d5aa00ea13f5a00ee2fc Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" Date: Mon, 12 Aug 2024 13:37:55 -0700 Subject: [PATCH] origin not upstream --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index b3582d1..79ff24f 100644 --- a/action.yml +++ b/action.yml @@ -220,7 +220,7 @@ runs: PRNUMBER="${{ github.event.pull_request.number }}" if [ -n "$PRNUMBER" ]; then BRANCH_NAME="$PRNUMBER/merge" - git fetch upstream pull/$PRNUMBER/head + git fetch origin pull/$PRNUMBER/head git checkout FETCH_HEAD COMMIT_HASH=$(git rev-parse HEAD) fi @@ -424,7 +424,7 @@ runs: $pr_number = "${{ github.event.pull_request.number }}" if ( $pr_number -ne "" ) { $branch_name = "$pr_number/merge" - git fetch upstream pull/$pr_number/head + git fetch origin pull/$pr_number/head git checkout FETCH_HEAD $commit_hash = git rev-parse HEAD }