|
| 1 | +# GitHub Actions Workflows |
| 2 | + |
| 3 | +Nine workflows provide the public/free CI surface for the Codex adapter. The |
| 4 | +repository is public, so standard GitHub-hosted runners do not consume the |
| 5 | +owner's private-repository Actions minutes. Keep every workflow on standard |
| 6 | +runner labels and keep third-party actions pinned to full commit SHAs. |
| 7 | + |
| 8 | +## Required PR Gates |
| 9 | + |
| 10 | +| Workflow | Purpose | |
| 11 | +| --- | --- | |
| 12 | +| `validate.yml` | Fast validation, optional runtime/release/MCP scopes, Linux and macOS coverage. | |
| 13 | +| `security-static.yml` | Action pin validation, actionlint, text security scan, ShellCheck, Pyright, Semgrep. | |
| 14 | +| `secret-scan.yml` | Gitleaks history scan for accidental secrets. | |
| 15 | +| `codeql.yml` | CodeQL code scanning for the adapter source surface. | |
| 16 | +| `dependency-review.yml` | Pull-request dependency diff review. | |
| 17 | + |
| 18 | +## Supply-Chain And Drift Gates |
| 19 | + |
| 20 | +| Workflow | Trigger | Purpose | |
| 21 | +| --- | --- | --- | |
| 22 | +| `scorecard.yml` | push, weekly, manual, branch-protection changes | OpenSSF Scorecard SARIF and code-scanning upload. | |
| 23 | +| `dependency-check.yml` | daily, config changes, manual | MCP/runtime pin freshness and dependency report. | |
| 24 | +| `labeler.yml` | pull requests | Unprivileged PR labels, skipped for forks. | |
| 25 | + |
| 26 | +## Release Gate |
| 27 | + |
| 28 | +| Workflow | Trigger | Purpose | |
| 29 | +| --- | --- | --- | |
| 30 | +| `release.yml` | numeric product tag or manual dispatch | Release validation, deterministic bundle, SBOM, attestations, GitHub Release. | |
| 31 | + |
| 32 | +## Cost Policy |
| 33 | + |
| 34 | +- Public adapter CI must stay on standard GitHub-hosted runner labels only. |
| 35 | +- No self-hosted or non-standard runner labels. |
| 36 | +- Workflow artifacts must set explicit retention and stay at or below 30 days. |
| 37 | +- Heavy or drift-oriented checks use schedules/manual dispatch where practical. |
0 commit comments