docs: reframe profile as methodology entry point — The Human Stack #41
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
| # Secret Scanning with Gitleaks | |
| # | |
| # Scans for secrets in: | |
| # - All commits in PRs | |
| # - Push to main/master | |
| # | |
| name: Secret Scan | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| gitleaks: | |
| name: Scan for secrets | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Gitleaks | |
| run: | | |
| curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.24.3/gitleaks_8.24.3_linux_x64.tar.gz | tar xz | |
| chmod +x gitleaks | |
| - name: Run Gitleaks | |
| run: | | |
| ./gitleaks detect --source . --verbose --redact --exit-code 2 | |