fix: comprehensive resolution of CI security and linting failures #300
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: Sentinel Governance Gates | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [main] | ||
| jobs: | ||
| governance-gates: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 20 | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
| - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b | ||
| with: | ||
| python-version: "3.11" | ||
| - name: Install Python dependencies | ||
| run: pip install -r requirements-dev.txt | ||
| - name: Install ripgrep | ||
| run: sudo apt-get update && sudo apt-get install -y ripgrep | ||
| - name: Run governance gate bundle (strict OPA) | ||
| env: | ||
| STRICT_OPA: "1" | ||
| OPA_VERSION: "v1.7.1" | ||
| run: ./tools/run_governance_gates.sh --strict-opa | ||
| - name: Upload validation report | ||
| if: always() | ||
| uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 | ||
| with: | ||
| name: sentinel-governance-validation-report | ||
| path: /tmp/sentinel_governance_validation_report.json | ||
| if-no-files-found: error | ||