tests (OPE-1376): Implement unit testing for AgentsUI monorepo (all phases) #238
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 | |
| jobs: | |
| scan: | |
| name: Run Gitleaks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # Required to scan full git history | |
| - name: Install Gitleaks | |
| run: | | |
| wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz | |
| tar -xzf gitleaks_8.10.1_linux_x64.tar.gz | |
| sudo install gitleaks /usr/local/bin/gitleaks | |
| - name: Run Gitleaks scan | |
| run: | | |
| gitleaks detect --source . \ | |
| --report-format=json \ | |
| --report-path=leak_report.json \ | |
| --verbose |