-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add review dependencies workflow
Signed-off-by: Austin Vazquez <[email protected]>
- Loading branch information
1 parent
13ebf68
commit b447e46
Showing
5 changed files
with
40 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Fail third party dependency usage if not covered by the curated set of pre-approved licenses. | ||
# | ||
# List was generated from guidance set forth by Amazon open source usage policies. | ||
allow-licenses: | ||
- 'Apache-2.0' | ||
- 'BSD-2-Clause' | ||
- 'BSD-3-Clause' | ||
- 'ISC' | ||
- 'MIT' |
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
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,24 @@ | ||
name: Review dependencies | ||
|
||
on: | ||
pull_request: | ||
branches: ['main', 'release/**'] | ||
paths: | ||
- 'go.*' | ||
|
||
jobs: | ||
review: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
# Write permissions needed to comment review results on PR. | ||
# Pwn request risk mitigated by using pull_request workflow trigger | ||
# and external contributor workflow runs require maintainer approval. | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4 | ||
with: | ||
config-file: './.github/dependency-review-config.yml' | ||
comment-summary-in-pr: always |
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