diff --git a/action.yml b/action.yml index ee0ddc6..e925a68 100644 --- a/action.yml +++ b/action.yml @@ -12,9 +12,6 @@ inputs: runs: using: 'docker' image: 'Dockerfile' - args: - - ${{ inputs.token }} - - ${{ inputs.files }} branding: icon: check-square color: white diff --git a/entrypoint.sh b/entrypoint.sh index e7635f4..ad01097 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,11 +2,9 @@ set -e -FILES=$2 - CHANGED_FILES=() -for path in ${FILES} +for path in ${INPUT_FILES} do echo "Checking for file changes: \"${path}\"..." MODIFIED_FILE=$(git diff --diff-filter=ACM --name-only | grep -E "(${path})" || true) @@ -17,8 +15,8 @@ done if [[ -z ${CHANGED_FILES} ]]; then echo "::set-output name=files_changed::false" - exit 0; else echo "::set-output name=files_changed::true" - exit 0; fi + +exit 0;