feat(babydegen-ui): integrate Basius agent (Base chain) #281
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: Gitleaks | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' # Run on all branches | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| name: Run Gitleaks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
| with: | |
| fetch-depth: 0 # Required to scan full git history | |
| - name: Install Gitleaks | |
| # Version + SHA256 pinned against the official release page: | |
| # https://github.com/zricethezav/gitleaks/releases/tag/v8.30.1 | |
| # The download is checksum-verified before extraction — without | |
| # this, an unverified `wget` in the gate that's checking for | |
| # compromise is a hole. | |
| run: | | |
| GITLEAKS_VERSION=8.30.1 | |
| GITLEAKS_SHA256=551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb | |
| ARCHIVE="gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | |
| wget -q "https://github.com/zricethezav/gitleaks/releases/download/v${GITLEAKS_VERSION}/${ARCHIVE}" | |
| echo "${GITLEAKS_SHA256} ${ARCHIVE}" | sha256sum -c - | |
| tar -xzf "${ARCHIVE}" | |
| sudo install gitleaks /usr/local/bin/gitleaks | |
| - name: Run Gitleaks scan | |
| run: | | |
| gitleaks detect --source . \ | |
| --report-format=json \ | |
| --report-path=leak_report.json \ | |
| --verbose |