Files
gatekeep/docs/dogfood.md
T
layue13 ef13f8806a
Gatekeep evals / eval-floor (push) Successful in 2s
Gatekeep evals / eval-floor (pull_request) Successful in 2s
gatekeep / security PR 风险 medium — 无未关闭安全阻断
Gatekeep / gatekeep (pull_request) Successful in 10m1s
feat: configurable report language (default zh-CN)
Add providers.yaml `language` / Action input `language`; prompts and
published summary/inline honor it. Soften fail-closed messaging when
models 429; prefer cohere/nvidia in the first-3 parallel set for dogfood.
2026-10-27 08:29:48 +00:00

23 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 `<!-- gatekeep-review -->`; 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; summary softens that messaging and prefers cohere/nvidia in the first-3 set.
## How to see a review
1. Branch off `main`, make a tiny change, open a PR on https://git.potatolab.uk/layue13/gatekeep
2. Wait for the **Gatekeep** workflow (same Actions runner pool as other `layue13` repos)
3. Look for the summary comment `<!-- gatekeep-review -->` on the PR
Consumer sample workflows remain under top-level `workflows/` for copy-paste into *other* repos’ `.github/workflows/`.