Skip to content

Commit

Permalink
origin not upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 12, 2024
1 parent a75ac63 commit cdf06ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit cdf06ef

Please sign in to comment.