Skip to content

Commit

Permalink
fix: revert change to pull pr branch via the branch name (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Jan 19, 2023
1 parent 019dd18 commit 653adcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-sha.sh
Expand Up @@ -166,7 +166,7 @@ else
if [[ -f .git/shallow ]]; then
echo "Fetching remote refs..."
# shellcheck disable=SC2086
git fetch $EXTRA_ARGS -u --progress --deepen="$INPUT_FETCH_DEPTH" origin "$CURRENT_BRANCH" 1>/dev/null
git fetch $EXTRA_ARGS -u --progress origin pull/"$GITHUB_EVENT_PULL_REQUEST_NUMBER"/head:"$CURRENT_BRANCH" 1>/dev/null

if [[ "$INPUT_SINCE_LAST_REMOTE_COMMIT" != "true" ]]; then
echo "::debug::Fetching remote target branch..."
Expand Down

0 comments on commit 653adcf

Please sign in to comment.