From c01c8cb1df793fa405116cb3dcc05a627eca1d4a Mon Sep 17 00:00:00 2001 From: Shyngys Shynbolatov Date: Tue, 13 Oct 2026 02:09:27 +0600 Subject: [PATCH] ci: add npmscan pull request scan --- .github/workflows/npmscan.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/npmscan.yml diff --git a/.github/workflows/npmscan.yml b/.github/workflows/npmscan.yml new file mode 100644 index 0000000000..9138459ada --- /dev/null +++ b/.github/workflows/npmscan.yml @@ -0,0 +1,22 @@ +name: npmscan + +on: + pull_request: + paths: + - package.json + - package-lock.json + +permissions: + contents: read + pull-requests: write + +jobs: + scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: NPMscan/npmscan-action@de14168f65640a4ed1f0e82ad3ad8c80483d360d # v1.3.0 + with: + file: package-lock.json + mode: warn + fail-on-error: false