Skip to content

Commit

Permalink
Merge pull request #282 from hiroyoshii/fix-osv
Browse files Browse the repository at this point in the history
fix ignore vulns
  • Loading branch information
hiroyoshii authored Oct 22, 2024
2 parents 89aa15d + 7823f83 commit e2716f9
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ name: OSV-Scanner

on:
pull_request:
schedule:
- cron: '37 1 * * 0'
push:
branches: [ "main" ]

Expand All @@ -25,21 +23,13 @@ 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@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' }}
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1
with:
# Example of specifying custom arguments
scan-args: |-
-r
--skip-git
--min-severity=9.0
./

0 comments on commit e2716f9

Please sign in to comment.