docs: introduce Connect section, connect-string reference, QWP stubs #443
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: Gitleaks | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| env: | |
| HAS_GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE != '' }} | |
| # Hoisted to job-level env because the `secrets` context is not | |
| # available in step-level `if` expressions; `env` is. | |
| GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 | |
| if: ${{ env.HAS_GITLEAKS_LICENSE == 'true' }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |