From e02ee05434557fc003a0e62e21fb9f6fff6e1e3a Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Wed, 16 Aug 2023 16:17:24 -0500 Subject: [PATCH] Backport of NET-5371 License checker pt2 into release/1.16.x (#18495) * backport of commit e0bdca41f6b66c6b6565681d0bfeb0f56e8b5628 * backport of commit bb76a45e5a80b1a65f81dd1c76ea7c43169b1238 --------- Co-authored-by: Nathan Coleman --- .github/scripts/license_checker.sh | 2 +- .github/workflows/license-checker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/license_checker.sh b/.github/scripts/license_checker.sh index fb1ac4194..6ba026f04 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 13a213580..747f81490 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.*