Skip to content

fix: comprehensive resolution of CI security and linting failures #300

fix: comprehensive resolution of CI security and linting failures

fix: comprehensive resolution of CI security and linting failures #300

name: Sentinel Governance Gates

Check failure on line 1 in .github/workflows/sentinel-governance-gates.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sentinel-governance-gates.yml

Invalid workflow file

(Line: 37, Col: 9): Unexpected value 'if-no-files-found'
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