fix(deps): update module github.com/cedar-policy/cedar-go to v0.4.0 #1205
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 | |
# Declare default permissions as read only. | |
permissions: read-all | |
on: | |
pull_request: | |
branches: [ "main" ] | |
merge_group: | |
branches: [ "main" ] | |
schedule: | |
- cron: '26 17 * * 0' | |
push: | |
branches: [ "main" ] | |
jobs: | |
scan-scheduled: | |
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} | |
permissions: | |
# Require writing security events to upload SARIF file to security tab | |
security-events: write | |
# Read commit contents | |
contents: read | |
actions: read | |
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0 | |
with: | |
# Example of specifying custom arguments | |
scan-args: |- | |
-r | |
--skip-git | |
./ | |
scan-pr: | |
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} | |
permissions: | |
# Require writing security events to upload SARIF file to security tab | |
security-events: write | |
# Read commit contents | |
contents: read | |
actions: read | |
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0 | |
with: | |
# Example of specifying custom arguments | |
scan-args: |- | |
-r | |
--skip-git | |
./ |