Skip to content

Commit

Permalink
feat: add npm audit action
Browse files Browse the repository at this point in the history
  • Loading branch information
woliveiras authored Jan 27, 2024
1 parent 9227fdf commit 3e48fd8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/npm-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: npm audit

on:
pull_request:
push:
branches:
- main
- 'releases/*'

jobs:
scan:
name: npm audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: npm ci
- uses: oke-py/npm-audit-action@v2
with:
audit_level: moderate
# github_token: ${{ secrets.GITHUB_TOKEN }}
issue_assignees: oke-py
issue_labels: vulnerability,test
dedupe_issues: true

0 comments on commit 3e48fd8

Please sign in to comment.