Skip to content

Commit 7a86629

Browse files
authored
change CodeQL to modern OSV-scanner (#614)
Signed-off-by: Fedor Partanskiy <[email protected]>
1 parent b325932 commit 7a86629

File tree

2 files changed

+24
-70
lines changed

2 files changed

+24
-70
lines changed

Diff for: .github/workflows/codeql-analysis.yml

-70
This file was deleted.

Diff for: .github/workflows/vulnerability-scan.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: OSV-Scanner
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches: [ "main" ]
7+
merge_group:
8+
branches: [ "main" ]
9+
schedule:
10+
- cron: '29 1 * * 5'
11+
push:
12+
branches: [ "main" ]
13+
14+
permissions:
15+
# Required to upload SARIF file to CodeQL. See: https://github.com/github/codeql-action/issues/2117
16+
actions: read
17+
# Require writing security events to upload SARIF file to security tab
18+
security-events: write
19+
# Read commit contents
20+
contents: read
21+
22+
jobs:
23+
scan-scheduled:
24+
uses: "google/osv-scanner-action/.github/workflows/[email protected]"

0 commit comments

Comments
 (0)