Align cm-website provider target evidence #2122
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: Security | |
| "on": | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: >- | |
| ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| workflow_lint: | |
| if: >- | |
| github.event_name != 'pull_request' || | |
| github.event.pull_request.head.repo.full_name == github.repository | |
| runs-on: | |
| - self-hosted | |
| - ${{ vars.LAUNCHPLANE_RUNNER_LABEL }} | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Lint GitHub Actions workflows | |
| run: | | |
| docker run --rm \ | |
| -v "${PWD}:/repo" \ | |
| -w /repo \ | |
| rhysd/actionlint:1.7.12 \ | |
| -config-file .github/actionlint.yaml | |
| secret_scan: | |
| if: >- | |
| github.event_name != 'pull_request' || | |
| github.event.pull_request.head.repo.full_name == github.repository | |
| runs-on: | |
| - self-hosted | |
| - ${{ vars.LAUNCHPLANE_RUNNER_LABEL }} | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Scan current tree for committed secrets | |
| run: | | |
| scan_path="${RUNNER_TEMP}/gitleaks-source" | |
| rm -rf "${scan_path}" | |
| mkdir -p "${scan_path}" | |
| git ls-files -z | rsync -a --files-from=- --from0 ./ "${scan_path}/" | |
| docker run --rm \ | |
| -v "${scan_path}:/repo:ro" \ | |
| -w /repo \ | |
| ghcr.io/gitleaks/gitleaks:v8.30.1 detect \ | |
| --source . \ | |
| --no-git \ | |
| --redact \ | |
| --verbose |