19
.github/workflows/daily.yml
vendored
Normal file
19
.github/workflows/daily.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: daily scan
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 20 * * *'
|
||||
|
||||
jobs:
|
||||
scan:
|
||||
name: npm audit
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: install dependencies
|
||||
run: npm ci
|
||||
- uses: oke-py/npm-audit-action@v0.1.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue_assignees: oke-py
|
||||
issue_labels: vulnerability
|
||||
Reference in New Issue
Block a user