# Dogfood — Gatekeep reviews Gatekeep The Action repo itself runs Gatekeep on its own pull requests. | Piece | Path / value | | --- | --- | | Live workflow | `.github/workflows/gatekeep-pr.yml` | | Action | `uses: ./` (repo-root `action.yml`) | | Secret | `OPENROUTER_API_KEY` → step `env` | | Trigger | `pull_request` (non-draft) + `workflow_dispatch` | | Proven | [PR #2](https://git.potatolab.uk/layue13/gatekeep/pulls/2) got ``; run 15833 **success** | | Report language | `defaults/providers.yaml` → `language: zh-CN` (override with Action `language:`) | Gitea notes: no `actions/setup-node` mirror — Action requires runner Node ≥18. PyYAML installs via workspace venv (PEP 668). Free OpenRouter models may 429: Action retries with backoff, tries `fallback_models` (list entries after the first 3), and only force-elevates risk to high when **zero** models succeed. Summary is Chinese when `language: zh-CN`. ## How to see a review 1. Branch off **current** `main` (or merge/rebase main into the PR branch — `uses: ./` loads Action code from the PR head) 2. Open/push a PR on https://git.potatolab.uk/layue13/gatekeep 3. Wait for the **Gatekeep** workflow (same Actions runner pool as other `layue13` repos) 4. Look for the summary comment `` (updated in place on re-run) 5. Manual re-run: Actions → Gatekeep → **Run workflow** (`workflow_dispatch`), or push another commit Consumer sample workflows remain under top-level `workflows/` for copy-paste into *other* repos’ `.github/workflows/`.