mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 21:04:14 +00:00
d8c127a462
- pr-gate.yml: closes PRs that don't fit the contribution workflow. First match wins: bypass-pr-check label, org/repo member, linked `approved` issue with author assigned, or ≤50-line diff. Defaults to dry-run via the PR_GATE_DRY_RUN repo variable. - pr-close-on-label.yml: closes a PR with a polite comment when a maintainer applies a triage label (initially `appears-ai-generated`, extensible via the COMMENTS lookup). - scripts/pr-gate/: TypeScript implementation with scoped install (Octokit + tsx) so the workflow doesn't pull the full game dep tree. 35 unit tests cover parseLinkedIssues, each rule, and priority ordering. - PULL_REQUEST_TEMPLATE.md: points contributors at Discord (features) and issues (bugs) and surfaces the `approved` requirement.