summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNaveen <172697+naveensrinivasan@users.noreply.github.com>2022-10-24 19:34:58 -0500
committerGitHub <noreply@github.com>2022-10-25 09:34:58 +0900
commit0fbf1c7c71fd65a113b2b83f50c956c15d72e885 (patch)
treeddc5dfe0a4420eaad7c63f5b8807ca046ec75ab3 /.github
parent694be39c71b0bfed2b2453b6efe1c0e05c8e33c4 (diff)
Add dependency review (#2817)
* chore(deps): Included dependency review > Dependency Review GitHub Action in your repository to enforce dependency > reviews on your pull requests. > The action scans for vulnerable versions of dependencies introduced by package version > changes in pull requests, > and warns you about the associated security vulnerabilities. > This gives you better visibility of what's changing in a pull request, > and helps prevent vulnerabilities being added to your repository. https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> * Update .github/workflows/depsreview.yaml Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com> Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/depsreview.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/depsreview.yaml b/.github/workflows/depsreview.yaml
new file mode 100644
index 00000000..a25de591
--- /dev/null
+++ b/.github/workflows/depsreview.yaml
@@ -0,0 +1,14 @@
+name: 'Dependency Review'
+on: [pull_request]
+
+permissions:
+ contents: read
+
+jobs:
+ dependency-review:
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Checkout Repository'
+ uses: actions/checkout@v3
+ - name: 'Dependency Review'
+ uses: actions/dependency-review-action@v2