mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-04-27 11:21:44 +00:00
22 lines
494 B
YAML
22 lines
494 B
YAML
name: OSV-Scanner PR Scan
|
|
|
|
# Change "main" to your default branch if you use a different name, i.e. "master"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
merge_group:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
# Require writing security events to upload SARIF file to security tab
|
|
security-events: write
|
|
# Only need to read contents and actions
|
|
contents: read
|
|
actions: read
|
|
|
|
jobs:
|
|
scan-pr:
|
|
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.8.2"
|