-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject pull requests that change imported licenses
We import dependencies that use a handful of open-source licenses. We want to be intentional about any change to these licenses, so this automation flags pull requests that do so. Go modules are immutable, so checking during pull requests and pushes should suffice. Issue: PGO-1556
- Loading branch information
Showing
2 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# Specify an exact list of recognized and acceptable licenses. | ||
# [A GitHub workflow](/.github/workflows/trivy.yaml) rejects pull requests that | ||
# import licenses not in this list. | ||
# | ||
# https://aquasecurity.github.io/trivy/latest/docs/scanner/license/ | ||
license: | ||
notice: | ||
#- Apache-2.0 | ||
- BSD-2-Clause | ||
- BSD-3-Clause | ||
- ISC | ||
- MIT |