Update action.yml

This commit is contained in:
Tonye Jack 2021-05-01 08:01:13 -04:00 committed by GitHub
parent 6c57b11941
commit ce0e219f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,10 @@ runs:
git fetch --depth=1 origin ${TARGET_BRANCH}:${TARGET_BRANCH}
HEAD_SHA=$(git rev-parse ${TARGET_BRANCH} || true)
fi
INPUT_FILES="${{ inputs.files }}"
if [[ -z "${{ inputs.files }}" ]]; then
if [[ -z "$INPUT_FILES" ]]; then
echo "Getting diff..."