chore: add a jwks public private key pair for testing (#4200) #3459
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OSV-Scanner | |
on: | |
pull_request: | |
branches: | |
- "main" | |
merge_group: | |
branches: | |
- "main" | |
push: | |
branches: | |
- "main" | |
schedule: | |
- cron: '44 15 * * 5' | |
permissions: | |
contents: read | |
jobs: | |
scan-scheduled: | |
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} | |
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@678a866dcba398c8ed0124a09928d250f187b52a" # v1.8.4 | |
permissions: | |
actions: read | |
contents: read | |
# Require writing security events to upload SARIF file to security tab | |
security-events: write | |
with: | |
scan-args: |- | |
--skip-git | |
--recursive | |
--no-call-analysis=go | |
./ | |
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@678a866dcba398c8ed0124a09928d250f187b52a" # v1.8.4 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
with: | |
# TODO enable call analysis once https://github.com/google/osv-scanner/issues/1220 is resolved | |
scan-args: |- | |
--skip-git | |
--recursive | |
--no-call-analysis=go | |
./ |