fix(ci): close the governance gate — SPDX, permissions, SHA pins, reusable bump #212
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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@81dbf2dd854b1444fd6236fa2352474383b2c2b9 |