Skip to content

feat: add centralized contributor governance workflow#3

Open
R-Lawton wants to merge 1 commit into
mainfrom
feat/contributor-governance
Open

feat: add centralized contributor governance workflow#3
R-Lawton wants to merge 1 commit into
mainfrom
feat/contributor-governance

Conversation

@R-Lawton

@R-Lawton R-Lawton commented Jun 18, 2026

Copy link
Copy Markdown

adds a reusable GitHub Actions workflow that enforces contributor governance across Kuadrant repos:

  • auto-labels new issues with triage/needs-triage
  • protects triage labels — only org members can change them
  • closes PRs from non-org-members that don't link to a triaged issue
  • limits external contributors to one active PR per repo (extras auto-drafted)

target repos adopt this via a thin caller workflow (~15 lines) with secrets: inherit.

TEST REPO https://github.com/Kuadrant/governance-test

requires

  • org-level secret ORG_MEMBER_TOKEN with read:org scope (done)
  • triage/* labels created in target repos (separate rollout step)

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@R-Lawton, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 3 minutes and 53 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 72c045cb-6cf1-4cb9-8545-905e7e18ce62

📥 Commits

Reviewing files that changed from the base of the PR and between 4ba7a5e and ef0cdfc.

📒 Files selected for processing (1)
  • .github/workflows/contributor-governance.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/contributor-governance

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Adds a reusable GitHub Actions workflow that enforces contributor
governance across Kuadrant repos:

- Auto-labels new issues with triage/needs-triage
- Protects triage labels from non-org-members
- Closes PRs without a linked, triaged issue
- Limits external contributors to one active PR per repo

Org members are exempt from all enforcement.
Requires ORG_MEMBER_TOKEN secret with read:org and repo scope.

Signed-off-by: R-Lawton <rlawton@redhat.com>
@R-Lawton R-Lawton force-pushed the feat/contributor-governance branch from 70b691a to ef0cdfc Compare June 19, 2026 09:57
@R-Lawton R-Lawton marked this pull request as ready for review June 19, 2026 10:00

@eguzki eguzki left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder about adding some documentation in our contributors guides related to this governance workflow. Maybe some template in this repo so others can render their own?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants