Skip to content

Commit

Permalink
Update diff-sha.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Nov 17, 2022
1 parent 434c3ea commit 2ed48aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diff-sha.sh
Expand Up @@ -147,6 +147,10 @@ else
echo "Running on a pull request event..."
TARGET_BRANCH=$GITHUB_BASE_REF
CURRENT_BRANCH=$GITHUB_HEAD_REF

if [[ "$INPUT_SINCE_LAST_REMOTE_COMMIT" == "true" ]]; then
TARGET_BRANCH=$CURRENT_BRANCH
fi

echo "Fetching remote refs..."

Expand Down

0 comments on commit 2ed48aa

Please sign in to comment.