-
-
Notifications
You must be signed in to change notification settings - Fork 0
Remove OSV-Scanner workflow configuration #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,37 +1 @@ | ||
| name: OSV-Scanner | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Empty osv workflow .github/workflows/osv-scanner.yml is now empty, so OSV-Scanner will not run anymore (and the workflow file may be considered invalid by GitHub Actions). This removes an existing security control from PR/push/scheduled CI. Agent Prompt
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Invalid empty workflow The OSV workflow file now contains only a blank line (no name, on, or jobs), which is likely an invalid GitHub Actions workflow and can create persistent “invalid workflow” noise/confusion in the repo’s Actions configuration. If the intent was to remove OSV scanning, the file should be deleted rather than left empty. Agent Prompt
|
||
| on: | ||
| pull_request: | ||
| branches: [ "main", "DSSRF_Branch_Rule" ] | ||
| merge_group: | ||
| branches: [ "main", "DSSRF_Branch_Rule" ] | ||
| schedule: | ||
| - cron: '* * * * *' | ||
| push: | ||
| branches: [ "main", "DSSRF_Branch_Rule" ] | ||
|
|
||
| permissions: | ||
| # Require writing security events to upload SARIF file to security tab | ||
| security-events: write | ||
| # Read commit 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@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1 | ||
| 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@1f1242919d8a60496dd1874b24b62b2370ed4c78" # v1.7.1 | ||
| with: | ||
| # Example of specifying custom arguments | ||
| scan-args: |- | ||
| -r | ||
| --skip-git | ||
| ./ | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Dependency scan coverage regression
🐞 Bug⛨ SecurityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools