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 <nathan.coleman@hashicorp.com>
This commit is contained in:
parent
d69a061a77
commit
e02ee05434
|
@ -3,7 +3,7 @@
|
||||||
# SPDX-License-Identifier: BUSL-1.1
|
# 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 we do not find a file in .changelog/, we fail the check
|
||||||
if [ -n "$busl_files" ]; then
|
if [ -n "$busl_files" ]; then
|
||||||
|
|
|
@ -7,7 +7,7 @@ name: License Checker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened]
|
types: [opened, synchronize]
|
||||||
branches:
|
branches:
|
||||||
- release/1.14.*
|
- release/1.14.*
|
||||||
- release/1.15.*
|
- release/1.15.*
|
||||||
|
|
Loading…
Reference in New Issue