mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 23:00:59 -05:00
The review backlog is long enough that a single contributor holding many open PRs makes it harder for any of them to get proper attention. This adds a nudge rather than a gate. On open or reopen, a workflow counts the author's open PRs and, above five, adds an `over-pr-limit` label and posts one comment linking their open PRs. It never closes a PR and never fails a check, both paths exit zero. Bots and maintainers are exempt, so dependabot can hold as many as it needs. The comment is posted at most once per PR via a marker, and the label is removed automatically when the author drops back under the limit. `pull_request_target` is used so the token can label fork PRs. The workflow never checks out or runs PR code, it only calls the GitHub API, so the elevated context is not exposed to untrusted input. The policy is documented in CONTRIBUTING.md and docs/contributing.md. Also drops the CONTRIBUTING.md edge-builds section, which described the `edge.yml` workflow removed in #691 and was the last reference to it, and fixes a stray character in the adjacent CI line.