From e970a8658490cfca39e39493d95188e16c24f1e2 Mon Sep 17 00:00:00 2001 From: Dark Steveneq Date: Mon, 19 Jan 2026 22:27:03 +0100 Subject: [PATCH] CI pod audyt wersji bibliotek --- .gitea/workflows/npm-audit.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/npm-audit.yaml diff --git a/.gitea/workflows/npm-audit.yaml b/.gitea/workflows/npm-audit.yaml new file mode 100644 index 0000000..da5e17f --- /dev/null +++ b/.gitea/workflows/npm-audit.yaml @@ -0,0 +1,31 @@ +name: npm audit + +on: + pull_request: + push: + branches: + - main + - 'releases/*' +# on: +# schedule: +# - cron: '0 10 * * *' + +jobs: + scan: + name: npm audit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Node.JS + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: install dependencies + run: npm ci + - uses: oke-py/npm-audit-action@v3 + with: + audit_level: moderate + github_token: ${{ secrets.GITHUB_TOKEN }} + issue_assignees: ghostfox + issue_labels: vulnerability,test + dedupe_issues: true \ No newline at end of file