fix(tests): populate help-parameter vars in BeforeDiscovery so the param-help check runs #67
Workflow file for this run
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: GitGuardian Scan | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| scanning: | |
| name: GitGuardian Scan | |
| runs-on: ubuntu-latest | |
| # Skip Dependabot PRs (no secret access, only updates dependencies). The | |
| # secret-presence check is enforced per-step via the `GGSHIELD_ENABLED` | |
| # boolean (the `secrets` context isn't available in `if:` expressions, so | |
| # we surface it as a job-level env value). Only the action step receives | |
| # the actual secret, scoped via its own step-level `env`. | |
| if: github.actor != 'dependabot[bot]' | |
| env: | |
| GGSHIELD_ENABLED: ${{ secrets.GITGUARDIAN_API_KEY != '' }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| if: env.GGSHIELD_ENABLED == 'true' | |
| with: | |
| fetch-depth: 0 | |
| - uses: GitGuardian/ggshield-action@v1 | |
| if: env.GGSHIELD_ENABLED == 'true' | |
| env: | |
| GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} |