Make JSON depth limits and experiment verification deterministic #15
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: Secret Scan | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| schedule: | |
| - cron: "6 5 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| gitleaks: | |
| name: Gitleaks filesystem scan | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| - name: Install gitleaks | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| version="8.30.1" | |
| base_url="https://github.com/gitleaks/gitleaks/releases/download/v${version}" | |
| archive="gitleaks_${version}_linux_x64.tar.gz" | |
| curl -sSfL "${base_url}/${archive}" -o "${archive}" | |
| expected_sha256="551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb" | |
| printf '%s %s\n' "${expected_sha256}" "${archive}" | sha256sum -c - | |
| tar -xzf "${archive}" gitleaks | |
| sudo install -m 0755 gitleaks /usr/local/bin/gitleaks | |
| gitleaks version | |
| - name: Scan working tree for secrets | |
| shell: bash | |
| run: gitleaks dir --config .gitleaks.toml --redact --no-banner --verbose . |