Repository navigation
chore(deps): bump the actions group with 3 updates (#64) #98
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 | |
| # Prevention workflow - scans for hardcoded secrets before they reach main. | |
| # | |
| # Calls the estate's shared secret scanner (gitleaks + rust-secrets + | |
| # shell-secrets). The job key MUST stay `scan`: the estate-wide | |
| # Secret-Scan-Floor ruleset requires the check context `scan / gitleaks`. | |
| # The previous inline TruffleHog job is retired — the reusable deliberately | |
| # dropped it as redundant with gitleaks (see the reusable's header). | |
| # | |
| # `secrets: inherit` is REQUIRED — without it the gitleaks action's inner | |
| # secrets.GITHUB_TOKEN is empty and the scan silently degrades. | |
| name: Secret Scanner | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@74d2f66f575246cf6e313ae7775f44df6e097ff2 | |
| secrets: inherit |