chore(deps): update konflux-ci/.fullsend digest to 9ee3c25 #88
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: | |
| branches: [main] | |
| merge_group: | |
| types: [checks_requested] | |
| permissions: | |
| contents: read | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Gitleaks | |
| run: | | |
| set -o errexit -o nounset -o pipefail | |
| version="8.30.1" | |
| archive="gitleaks_${version}_linux_x64.tar.gz" | |
| curl -sSfLO "https://github.com/gitleaks/gitleaks/releases/download/v${version}/${archive}" | |
| curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${version}/gitleaks_${version}_checksums.txt" \ | |
| | grep "$archive" | sha256sum --check --strict | |
| tar -xzf "$archive" | |
| sudo mv gitleaks /usr/local/bin/ | |
| rm -f "$archive" | |
| - name: Run Gitleaks | |
| run: >- | |
| gitleaks detect | |
| --source . | |
| --config .gitleaks.toml | |
| --redact | |
| --log-opts="${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha }}...HEAD" |