Skip to content

ci: PR Hygiene is the merge gate; CODEOWNERS carries no rules - #1486

Merged
shumkov merged 1 commit into
v1.8-devfrom
chore/pr-hygiene-gate-v1.8-dev
Sep 19, 2026
Merged

shumkov merged 1 commit into
v1.8-devfrom
chore/pr-hygiene-gate-v1.8-dev

Conversation

@shumkov

@shumkov shumkov commented Sep 19, 2026

Copy link
Copy Markdown
Collaborator

Re-pins the shared review workflow onto dashpay/stale_prs_are_bad#37, which makes the PR Hygiene status a check that can be required to merge.

What changes for you

Nothing yet. Branch protection on this branch is unchanged by this PR. Once every governed branch carries a status from this engine, the follow-up sets GitHub's own approval count to zero and requires this check — at which point the policy is the one thing deciding whether a pull request can merge:

  • You own every area you touched → the bots have reported, you posted /self-reviewed, the build is green. No second human.
  • Otherwise → the same, plus an approval at the current head from an owner or reviewer of each area you touched.

The status is pending while anything is still waiting — not red; an open pull request spends most of its life waiting — and error only for a configuration problem someone must fix.

CODEOWNERS

Replaced with a file that has no rules, on purpose. A rule there makes GitHub request every owner the moment a pull request is opened, before the bots or the author have read it — the noise PR Hygiene exists to prevent — and nothing short of a rules-free file switches that off. The file stays and points at the policy.

Also in this engine

workflow_dispatch takes scope: all to reconcile every governed pull request in one run, which is how the follow-up verifies every head before requiring anything.

🤖 Generated with Claude Code

The PR Hygiene status now passes only when the review policy is satisfied and
is pending while anything is still waiting, so it can be required to merge.
With it required, GitHub own approval count on this branch goes to zero and
the policy is the one thing that decides: an author who owns every area they
touched needs the bots, their attestation and a green build; anyone else also
needs an owner approval.

CODEOWNERS is a file with no rules now, on purpose. A rule there had GitHub
request every owner the moment a pull request was opened, before the bots or
the author had read it. The file stays, pointing at the policy.

dashpay/stale_prs_are_bad#37 landed as 2a9705fbefd4294f490baa36f46f2b880a592502.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@shumkov
shumkov requested a review from lklimek as a code owner September 19, 2026 16:25
@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: dashpay/tenderdash/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: e42a9603-2681-4aa0-9176-c27eef0cceb5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

PR Hygiene

State: waiting-bots · commit a65b9fc016a502200aef87a430d7274779f1fdfc

  • thepastaclaw has not reported for the current head

Self-review is an author attestation that you have read the diff:
/self-reviewed — covers everything pushed so far; post it again after a new push.

This report does not bypass CI or repository protection rules.

@thepastaclaw

thepastaclaw commented Sep 19, 2026 •

Copy link
Copy Markdown

🕓 Queued for automated review — 2nd in line, estimated start in ~15 min (commit a65b9fc)
Estimated review time once started: ~10 min (two-phase automated review; median of recent runs).

  • Request priority review — click to move this review to the front of the queue.

@shumkov
shumkov merged commit 0521844 into v1.8-dev Sep 19, 2026
23 checks passed
@shumkov
shumkov deleted the chore/pr-hygiene-gate-v1.8-dev branch September 19, 2026 16:39
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