security: re-pin secret scanner onto the real gitleaks gate (#45) #129
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 | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| # The reusable's gitleaks job requests pull-requests: write (PR | |
| # summary comments) and actions: read. A called workflow cannot | |
| # exceed the caller's grant - without these, every run dies at | |
| # startup_failure. See standards#472. | |
| permissions: | |
| contents: read | |
| uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@c65436ee3351cd6b0fa14b142938b195efc77586 | |
| secrets: inherit |