Skip to content

Commit

Permalink
Create osv-scanner.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rufer7 authored Jan 29, 2025
1 parent d242552 commit f2865c6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: OSV-Scanner demo

on:
workflow_dispatch:
push:
branches: ["main"]

permissions:
# Required to upload SARIF file to CodeQL. See: https://github.com/github/codeql-action/issues/2117
actions: read
# Require writing security events to upload SARIF file to security tab
security-events: write
# Only need to read contents
contents: read

jobs:
scan-scheduled:
name: Run OSV-Scanner
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.9.1"
with:
scan-args: --experimental-licenses

0 comments on commit f2865c6

Please sign in to comment.