Files
layue13 05f8fad38a
Gatekeep evals / eval-floor (push) Successful in 8s
Dogfood: run Gatekeep on this repo's PRs
Add .github/workflows/gatekeep-pr.yml with uses: ./ and
OPENROUTER_API_KEY from secrets. Forge-agnostic API helper for Gitea.
2026-10-26 20:40:51 +00:00

34 lines
1.0 KiB
YAML

# SAMPLE for *other* consumer repos — copy to .github/workflows/gatekeep-pr.yml
#
# On the Gatekeep dogfood repo itself, the live workflow is:
# .github/workflows/gatekeep-pr.yml (uses: ./)
#
# Secrets: free-form names from providers.yaml `key` (e.g. OPENROUTER_API_KEY)
name: Gatekeep
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled]
jobs:
gatekeep:
name: gatekeep
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
persist-credentials: false
- name: Gatekeep review + verify
id: gk
# Consumer remote reference (not used for dogfood — dogfood uses ./ )
uses: https://git.potatolab.uk/layue13/gatekeep@main
env:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-verify: "true"
retain-artifacts: "true"