Migrate shared-secrets-scan workflow into public ci-shared #1
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
| name: CI | |
| # Self-CI: dogfood the shared secrets-scan on this repo's own contents. | |
| # Same-repo reusable-workflow calls use a local path ref (no SHA pin needed); | |
| # external consumers MUST SHA-pin (see README). | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| secrets-scan: | |
| uses: ./.github/workflows/shared-secrets-scan.yml | |
| with: | |
| gitleaks-version: "8.21.2" | |
| runs-on: '["ubuntu-latest"]' | |
| permissions: | |
| contents: read |