mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-17 13:47:20 +00:00
Update action.yml
This commit is contained in:
parent
51af91599b
commit
8fcb602161
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ runs:
|
|||
echo "::set-output name=base_sha::${{ inputs.base_sha }}"
|
||||
elif [[ "${{ inputs.since_last_remote_commit }}" == "true" ]]; then
|
||||
LAST_REMOTE_COMMIT="${{ github.event.before }}"
|
||||
if [[ -z "$LAST_REMOTE_COMMIT" ]]; then
|
||||
if [[ -z "$LAST_REMOTE_COMMIT" && "$LAST_REMOTE_COMMIT" != "0000000000000000000000000000000000000000" ]]; then
|
||||
LAST_REMOTE_COMMIT=$(git rev-parse $(git branch -r --sort=-committerdate | head -1))
|
||||
fi
|
||||
if [[ "${{ inputs.sha }}" == "$LAST_REMOTE_COMMIT" ]]; then
|
||||
|
|
Loading…
Reference in a new issue