RFC-0914 Planned: Stoolap Partial Indexes #476
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
| # Dependency + Secret Scan | |
| # Mandatory for blockchain projects | |
| name: Security Scan | |
| on: | |
| push: | |
| branches: [next, feat/**, agent/**, research/**, hotfix/**] | |
| pull_request: | |
| branches: [main, next] | |
| merge_group: | |
| schedule: | |
| - cron: "0 3 * * 1" | |
| jobs: | |
| security: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Dependency Review | |
| if: github.event_name == 'pull_request' | |
| continue-on-error: true | |
| uses: actions/dependency-review-action@v4 | |
| - name: Install cargo-audit | |
| run: cargo install cargo-audit | |
| - name: Rust security audit | |
| run: | | |
| if [ -f Cargo.toml ]; then cargo audit || true; fi | |
| - name: Run Trivy filesystem scan | |
| uses: aquasecurity/trivy-action@master | |
| with: | |
| scan-type: fs | |
| format: table | |
| exit-code: 0 | |
| - name: Secret Scan (Gitleaks) | |
| continue-on-error: true | |
| uses: gitleaks/gitleaks-action@v2 |