diff --git a/.github/scripts/license_checker.sh b/.github/scripts/license_checker.sh index fb1ac4194d72..6ba026f04fdd 100755 --- a/.github/scripts/license_checker.sh +++ b/.github/scripts/license_checker.sh @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BUSL-1.1 -busl_files=$(grep -r 'SPDX-License-Identifier: BUSL' --exclude=./.github/scripts/license_checker.sh .) +busl_files=$(grep -r 'SPDX-License-Identifier: BUSL' . --exclude-dir .github) # If we do not find a file in .changelog/, we fail the check if [ -n "$busl_files" ]; then diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml index 13a2135804e3..747f81490e6a 100644 --- a/.github/workflows/license-checker.yml +++ b/.github/workflows/license-checker.yml @@ -7,7 +7,7 @@ name: License Checker on: pull_request: - types: [opened] + types: [opened, synchronize] branches: - release/1.14.* - release/1.15.*