Skip to content

ci: fix permissions for osv-scan 1.7.4 #20

ci: fix permissions for osv-scan 1.7.4

ci: fix permissions for osv-scan 1.7.4 #20

Workflow file for this run

name: OSV-Scanner Scan
on:
schedule:
- cron: '30 13 * * 1'
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
analyze:
permissions:
# Require writing security events to upload SARIF file to security tab
security-events: write
contents: read
actions: read
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@ba0b4d196d231340e0ae94ae00933c8be0984192" #v1.7.4