Skip to content

Commit 5dbcb3f

Browse files
Merge pull request #1152 from Nordix/erja/fix-osv-scanner
🌱 Fix OSV-Scanner
2 parents 5d27392 + 415ef15 commit 5dbcb3f

File tree

2 files changed

+26
-69
lines changed

2 files changed

+26
-69
lines changed

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

Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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/scheduled-osv-scan.yml"
12+
13+
14+
permissions:
15+
actions: read
16+
contents: read
17+
security-events: write # for uploading SARIF files
18+
19+
jobs:
20+
osv-scan:
21+
if: ${{ github.repository == 'metal3-io/ip-address-manager' }}
22+
uses: metal3-io/project-infra/.github/workflows/scheduled-osv-scan.yml@main
23+
with:
24+
repository-name: ${{ github.repository }}
25+
secrets:
26+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)