[data] feat: support text-only children in PackedMultiMixQASample #308
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: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: secrets-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install gitleaks | |
| run: | | |
| GITLEAKS_VERSION=8.30.1 | |
| ARCHIVE="gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | |
| CHECKSUMS="gitleaks_${GITLEAKS_VERSION}_checksums.txt" | |
| BASE_URL="https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}" | |
| curl -sSLO "${BASE_URL}/${ARCHIVE}" | |
| curl -sSLO "${BASE_URL}/${CHECKSUMS}" | |
| grep "${ARCHIVE}" "${CHECKSUMS}" | sha256sum -c - | |
| tar -xzf "${ARCHIVE}" gitleaks | |
| sudo mv gitleaks /usr/local/bin/gitleaks | |
| - name: Run gitleaks on PR commits | |
| if: github.event_name == 'pull_request' | |
| run: | | |
| gitleaks git --log-opts="${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}" --verbose --redact | |
| - name: Run gitleaks on repository history | |
| if: github.event_name != 'pull_request' | |
| run: | | |
| gitleaks git --verbose --redact |