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 4, 2022
1 parent dd6f3c9 commit ae5f032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diff-sha.sh
Expand Up @@ -41,6 +41,7 @@ fi
if [[ -z $GITHUB_BASE_REF ]]; then
echo "Running on a push event..."
TARGET_BRANCH=${GITHUB_REF/refs\/heads\//} && exit_status=$? || exit_status=$?
TARGET_BRANCH=${TARGET_BRANCH/refs\/tags\//}
CURRENT_BRANCH=$TARGET_BRANCH && exit_status=$? || exit_status=$?

echo "::debug::Getting HEAD SHA..."
Expand Down

0 comments on commit ae5f032

Please sign in to comment.