Skip to content

Commit b5b7c30

Browse files
Adopt OSV scanner workflow from project-infra
Use the reusable workflow from project-infra for running OSV scanner. Signed-off-by: erjavaskivuori <[email protected]>
1 parent 5d27392 commit b5b7c30

File tree

2 files changed

+20
-69
lines changed

2 files changed

+20
-69
lines changed

.github/workflows/osv-scanner-scan.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# runs vulnerability scans and add them to Github Security tab
2+
3+
name: OSV-Scanner Scheduled
4+
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: "12 6 * * *"
9+
pull_request:
10+
paths:
11+
- ".github/workflows/osv-scanner-scheduled.yml"
12+
13+
jobs:
14+
osv-scan:
15+
if: ${{ github.repository == 'metal3-io/ip-address-manager' }}
16+
uses: Nordix/metal3-project-infra/.github/workflows/scheduled-osv-scan.yml@erja/scheduled-osv-scan
17+
with:
18+
repository-name: ${{ github.repository }}
19+
secrets:
20+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)