Update README #2
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: Secure LLM Agents CI (Node/TS) | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, labeled] | |
| push: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| validate-changed-paths: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: { fetch-depth: 0 } | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: '3.11' } | |
| - run: python -m pip install --upgrade pip pyyaml | |
| - name: Validate changed paths | |
| env: | |
| GITHUB_EVENT_PATH: ${{ github.event_path }} | |
| run: python scripts/validate_changed_paths.py | |
| schema-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: { python-version: '3.11' } | |
| - run: python -m pip install --upgrade pip jsonschema pyyaml | |
| - name: Validate schemas | |
| run: python scripts/validate_schemas.py | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build CI image | |
| run: docker build -f .github/docker/ci.Dockerfile -t secure-agents-ci . | |
| - name: Run tests (network=none) | |
| run: docker run --rm --network=none -v "$PWD":/work -w /work secure-agents-ci bash -lc "./scripts/ci_test_runner.sh" |