mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
Merge branch 'main' into chore/update-docs-1
This commit is contained in:
commit
65b4f04d50
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ if [[ -z $GITHUB_BASE_REF ]]; then
|
|||
fi
|
||||
|
||||
if [[ -z "$PREVIOUS_SHA" || "$PREVIOUS_SHA" == "0000000000000000000000000000000000000000" ]]; then
|
||||
PREVIOUS_SHA=$CURRENT_SHA
|
||||
PREVIOUS_SHA=$(git rev-parse "$(git branch -r --sort=-committerdate | head -1 | xargs)")
|
||||
fi
|
||||
|
||||
if [[ "$PREVIOUS_SHA" == "$CURRENT_SHA" ]]; then
|
||||
|
|
Loading…
Reference in a new issue