Skip to content

Bump github/codeql-action from 3.28.6 to 3.28.8 (#176) #6

Bump github/codeql-action from 3.28.6 to 3.28.8 (#176)

Bump github/codeql-action from 3.28.6 to 3.28.8 (#176) #6

Workflow file for this run

name: OSV-Scanner PR Scan
# Change "main" to your default branch if you use a different name, i.e. "master"
on:
pull_request:
branches: [main]
merge_group:
branches: [main]
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:
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@b291b69122502bce26c1e1de2a8e37548d7f2f5f # v1.9.2
with:
# Example of specifying custom arguments
scan-args: |-
-r
--skip-git
./
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@b291b69122502bce26c1e1de2a8e37548d7f2f5f # v1.9.2
with:
# Example of specifying custom arguments
scan-args: |-
-r
--skip-git
./