Skip to content

fix(ci): grant the secret-scanner reusable its required job permissio… #211

fix(ci): grant the secret-scanner reusable its required job permissio…

fix(ci): grant the secret-scanner reusable its required job permissio… #211

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: Hypatia Security Scan
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master]
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
permissions:
contents: read
# The reusable declares security-events: write (it uploads SARIF). A called
# workflow cannot escalate beyond the caller's grant, so `read` here makes the
# whole run a startup_failure with zero jobs and no log.
security-events: write
jobs:
scan:
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@f9dca6ded2cad8ab54044c1cb0489b558ae2682b