feat: Phase 1 Complete - Migrate RAG and External Data to stillme_core #876
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: Security – Gitleaks | |
| on: | |
| push: | |
| branches: [ main, master, develop ] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run gitleaks | |
| uses: gitleaks/gitleaks-action@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| args: --no-banner detect -v -c .gitleaks.toml --redact --exit-code 1 --report-format sarif --report-path results.sarif | |
| continue-on-error: true | |
| - name: Create empty SARIF if not exists | |
| if: always() | |
| run: | | |
| if [ ! -f results.sarif ]; then | |
| echo '{"version":"2.1.0","$schema":"https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json","runs":[{"tool":{"driver":{"name":"gitleaks","version":"unknown"}},"results":[]}]}' > results.sarif | |
| fi |