Skip to content

Security Scanners

Security Scanners #15

Workflow file for this run

name: Security Scanners
on:
push:
branches:
- main
pull_request:
branches:
- main
merge_group:
branches:
- main
schedule:
- cron: "0 12 * * 1,3,5"
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
contents: read
jobs:
OSV-scan-scheduled:
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@ccb575fd49a679661853f52831627d4578f6816d" # v2.3.1
with:
scan-args: |-
--include-git-root
-r
./
OSV-scan-pr:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@ccb575fd49a679661853f52831627d4578f6816d" # v2.3.1
with:
scan-args: |-
--include-git-root
-r
./