diff --git a/.github/workflows/quorum-scan-vexa.yml b/.github/workflows/quorum-scan-vexa.yml new file mode 100644 index 0000000..b73c2fb --- /dev/null +++ b/.github/workflows/quorum-scan-vexa.yml @@ -0,0 +1,44 @@ +# quorum-scan-vexa: dependency/CVE scanning for the hivecommons/vexa fork. +# +# The fork cannot carry its own scanning workflows: GITHUB_TOKEN cannot push changes under +# .github/workflows/ there, so upstream's workflows were removed. This quorum-owned workflow +# scans the fork's default branch from here instead. Public repo, built-in token only; no secrets. +# OSV-Scanner reads the lockfiles (pnpm-lock.yaml, Python requirements, etc.) and honours the +# fork's own osv-scanner.toml for reviewed ignores. Any unignored vulnerability fails the run +# (OSV-Scanner has no severity threshold), so the failed scheduled run is the alert. +name: quorum-scan-vexa + +on: + schedule: + - cron: "17 6 * * *" + workflow_dispatch: + pull_request: + paths: + - .github/workflows/quorum-scan-vexa.yml + +permissions: + contents: read + +concurrency: + group: quorum-scan-vexa-${{ github.ref }} + cancel-in-progress: true + +jobs: + osv-scanner: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + repository: hivecommons/vexa + ref: main + path: vexa + persist-credentials: false + # On pull_request the run only proves this workflow still executes; vexa's own findings must + # not block a quorum PR. Scheduled and manual runs stay strict and are the alert. + - uses: google/osv-scanner-action/osv-scanner-action@6bc832ee85d316ab9aeccf71929026841bd0e1ee # v2.7.1 + continue-on-error: ${{ github.event_name == 'pull_request' }} + with: + scan-args: |- + --recursive + --config=vexa/osv-scanner.toml + ./vexa