fix(ci): startup_failure class — callee-permission grants, stale pins… #102
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: Secret Scanner | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| # The reusable's gitleaks job declares pull-requests:write + actions:read; a | |
| # called workflow's job permissions must be a SUBSET of the caller's grant | |
| # (callee ⊆ caller), so the caller grants the union or the run startup-fails | |
| # at plan time with zero jobs. | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| actions: read | |
| jobs: | |
| scan: | |
| uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@a44c93a5cd3d293ee3e8b488444dcdc19c4e5d49 | |
| secrets: inherit |