mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 03:47:20 +00:00
Update diff-sha.sh
This commit is contained in:
parent
dd6f3c9e10
commit
ae5f032774
1 changed files with 1 additions and 0 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue