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