Skip to content

policy(changelog): tighten meta:no-changelog usage and guardrails#463

Merged
ashleyshaw merged 3 commits into
developfrom
codex/changelog-label-policy-hardening
May 28, 2026
Merged

policy(changelog): tighten meta:no-changelog usage and guardrails#463
ashleyshaw merged 3 commits into
developfrom
codex/changelog-label-policy-hardening

Conversation

@ashleyshaw
Copy link
Copy Markdown
Member

Summary

Tightens changelog labelling policy to stop overuse of meta:no-changelog and prevent contradictory labels on PRs.

What changed

  • Hardens .github/workflows/changelog-validate.yml:
    • Fails if both meta:needs-changelog and meta:no-changelog are present.
    • Fails if meta:no-changelog is used on type:feature, type:bug, type:performance, type:security, type:release, or type:hotfix PRs.
  • Updates docs/policy text:
    • .github/pull_request_template.md
    • docs/PR_LABELS.md
    • docs/AUTOMATION_GOVERNANCE.md

Audit actions completed

Live audit run for recent PRs/issues with meta:no-changelog:

Validation

  • npm run lint:md -- .github/pull_request_template.md docs/PR_LABELS.md docs/AUTOMATION_GOVERNANCE.md
  • npx jest scripts/validation/__tests__/validate-workflows.test.js --runInBand
  • Full pre-commit test hook (npm run test:js) passed during commit.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 28, 2026

Warning

Review limit reached

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

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

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ 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.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 820f49a0-72a5-4ba9-a953-4c2ba966f3ab

📥 Commits

Reviewing files that changed from the base of the PR and between 196dd90 and 927cddc.

📒 Files selected for processing (4)
  • .github/pull_request_template.md
  • .github/workflows/changelog-validate.yml
  • docs/AUTOMATION_GOVERNANCE.md
  • docs/PR_LABELS.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/changelog-label-policy-hardening

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.

@github-actions github-actions Bot added area:ci Build and CI pipelines area:documentation Docs & guides lang:md Markdown content/docs status:needs-review Awaiting code review priority:normal Default priority type:chore Chore / small hygiene change type:bug Bug or defect meta:needs-changelog Requires a changelog entry before merge labels May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Reviewer Summary for PR #463

CI Status:success
Files changed: 4

Recommendations

  • Ready to proceed pending human review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 75fe51102b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +36 to +39
if echo "${PR_LABELS}" | grep -q '"meta:needs-changelog"' && echo "${PR_LABELS}" | grep -q '"meta:no-changelog"'; then
echo "::error::PR cannot include both meta:needs-changelog and meta:no-changelog."
exit 1
fi
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Clear stale needs-changelog before failing skip-labelled PRs

This new failure path blocks the normal internal-only PR flow after automation has run: the labeling workflow triggers on PR open/labeled and scripts/agents/labeling.agent.js auto-adds meta:needs-changelog whenever a PR initially has no changelog label, but there is no corresponding cleanup when a maintainer later adds meta:no-changelog. In that common sequence the PR now has both labels and this workflow fails until someone manually removes the stale auto-added label, so the guardrail should either remove/ignore the stale label when meta:no-changelog is present or the labeling agent should enforce the mutual exclusion.

Useful? React with 👍 / 👎.

@ashleyshaw ashleyshaw added meta:no-changelog No changelog needed and removed meta:needs-changelog Requires a changelog entry before merge type:bug Bug or defect labels May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🔍 Reviewer Summary for PR #463

CI Status:success
Files changed: 4

Recommendations

  • Ready to proceed pending human review

@ashleyshaw ashleyshaw merged commit 8454a44 into develop May 28, 2026
15 of 17 checks passed
@ashleyshaw ashleyshaw deleted the codex/changelog-label-policy-hardening branch May 28, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci Build and CI pipelines area:documentation Docs & guides lang:md Markdown content/docs meta:no-changelog No changelog needed priority:normal Default priority status:needs-review Awaiting code review type:chore Chore / small hygiene change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant