Skip to content

Commit

Permalink
Merge pull request #148 from freespek/igor/npm-audit
Browse files Browse the repository at this point in the history
add an npm audit workflow
  • Loading branch information
konnov authored Dec 5, 2024
2 parents 0aac717 + 25fab17 commit 2ebe5fd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: npm audit

on:
pull_request:
push:
branches:
- main
# on:
# schedule:
# - cron: '0 10 * * *'

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

0 comments on commit 2ebe5fd

Please sign in to comment.