Skip to content

Setup coverage, backend half: pitcher on first run, reconfigure after it #17

Setup coverage, backend half: pitcher on first run, reconfigure after it

Setup coverage, backend half: pitcher on first run, reconfigure after it #17

Workflow file for this run

# OSV-Scanner — dependency vulnerability scanning against osv.dev (Google).
# Scans requirements.txt (and any future manifests) on push/PR + a weekly
# sweep; the PR job fails when a change INTRODUCES a known-vulnerable
# dependency. Complements Dependabot: osv.dev aggregates GHSA + PyPA + more,
# and the PR gate catches what Dependabot only reports after the fact.
#
# Third-party reusable workflow → pinned to a full commit SHA on purpose
# (tj-actions lesson). Bump by moving the SHA, never to a floating tag.
name: OSV-Scanner
on:
pull_request:
branches: [ "main" ]
merge_group:
branches: [ "main" ]
schedule:
- cron: '35 21 * * 6'
push:
branches: [ "main" ]
permissions:
contents: read
jobs:
scan-scheduled:
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
permissions:
contents: read
security-events: write
actions: read
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@6e4298ebc4db23e847df9b2e2de2939d6f066c67" # v2.5.1
with:
scan-args: |-
-r
--skip-git
./
scan-pr:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
permissions:
contents: read
security-events: write
actions: read
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@6e4298ebc4db23e847df9b2e2de2939d6f066c67" # v2.5.1
with:
scan-args: |-
-r
--skip-git
./