mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-19 15:23:42 +00:00
Update diff-sha.sh
This commit is contained in:
parent
434c3eaa98
commit
2ed48aa52f
1 changed files with 4 additions and 0 deletions
|
@ -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..."
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue