Files
org/.gitea/workflows/promotion-gate.yaml
Chris Farhood 983498765e
CI / ci (pull_request) Successful in 3s
Promotion Gate / Promotion Gate (pull_request) Successful in 2s
CI / lint (pull_request) Successful in 8s
ci: add ci job and Promotion Gate workflow to satisfy branch protection
Branch protection on main requires three status checks:
- CI / lint (pull_request) [was already satisfied]
- CI / ci (pull_request) [new: validates JSON files]
- Promotion Gate / Promotion Gate (pull_request) [new: validates skills structure]

Adding the ci job and Promotion Gate workflow so all required checks
can pass on PRs, unblocking future merges to main.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 19:37:01 +00:00

25 lines
496 B
YAML

name: Promotion Gate
on:
pull_request:
branches: [main]
jobs:
promotion_gate:
name: Promotion Gate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate skills directory structure
run: |
set -e
fail=0
for dir in skills/*/; do
if [ ! -f "${dir}SKILL.md" ]; then
echo "::error::Missing SKILL.md in ${dir}"
fail=1
fi
done
exit $fail