aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>2022-04-19 20:04:54 -0500
committernaveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>2022-04-19 20:04:54 -0500
commit3d5fc72d5534d169deed87b8a2a7e24870ab0aab (patch)
treeb6f5caf7b93b52c4b9c83ea4f859bc3d5870b3ba
parent88a669dd193ce03fd4a511487e1a0fdaab118890 (diff)
downloadseaweedfs-3d5fc72d5534d169deed87b8a2a7e24870ab0aab.tar.xz
seaweedfs-3d5fc72d5534d169deed87b8a2a7e24870ab0aab.zip
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>
-rw-r--r--.github/workflows/depsreview.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/depsreview.yml b/.github/workflows/depsreview.yml
new file mode 100644
index 000000000..626c5d154
--- /dev/null
+++ b/.github/workflows/depsreview.yml
@@ -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@dcd71f646680f2efd8db4afa5ad64fdcba30e748
+ - name: 'Dependency Review'
+ uses: actions/dependency-review-action@3f943b86c9a289f4e632c632695e2e0898d9d67d