Skip to content

chore: expand PR labeler coverage to partials, images, release notes, and missing products - #33257

Merged
mvvmm merged 3 commits into
productionfrom
chore/expand-pr-labeler
Sep 7, 2026
Merged

chore: expand PR labeler coverage to partials, images, release notes, and missing products#33257
mvvmm merged 3 commits into
productionfrom
chore/expand-pr-labeler

Conversation

@mvvmm

@mvvmm mvvmm commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Expands the PR product-labeler (.github/labeler.yml) so pull requests touching product content actually receive product:* labels. The old config only mapped src/content/docs/{slug}/**, which left several real gaps:

The file is regenerated from the current content tree. Each product rule now maps every location that product's content can live:

product:workers:
  - changed-files:
      - any-glob-to-any-file:
          - src/content/docs/workers/**
          - src/content/partials/workers/**
          - src/assets/images/workers/**
          - src/content/compatibility-flags/**

Release-notes files are mapped through each file's productLink (e.g. ddos*.yamlproduct:ddos-protection, realtimekit*.yamlproduct:realtime, workers-for-platforms.yamlproduct:cloudflare-for-platforms).

Also removed:

  • The dead product:cloudflare-agent rule — src/content/docs/cloudflare-agent/ no longer exists, so it could never match.
  • The dead src/content/docs/email-routing/** glob — those docs no longer live there; the rule now maps src/content/partials/email-routing/** instead.

Note for reviewers: eight referenced labels do not exist yet (product:agent-lee, product:agent-memory, product:docs-for-agents, product:flagship, product:privacy-pass, product:r2-data-catalog, product:resource-tagging, product:wallets) and are being created before merge — actions/labeler skips labels that don't exist in the repo.

… and missing products

Generated from the current content tree. Adds rules for 14 uncovered
product docs directories, maps src/content/partials and
src/assets/images subdirectories to their product labels, maps
release-notes files via their productLink, and covers
workers-ai-models, compatibility-flags, fields, catalog-models,
public/__redirects, and public/_headers.

Drops the dead product:cloudflare-agent rule (directory no longer
exists) and repoints product:email-routing at its partials directory.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 5, 2026

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://chore-expand-pr-labeler.previews.developers.cloudflare.com (commit 270c361)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d0d1db4f.previews.developers.cloudflare.com 270c361 2026-09-07T15:18:11.776Z Visit the dashboard ↗
  • Build: In progress 🔵

View logs ↗
5a99b35 2026-09-07T15:01:12.610Z View logs ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://428b2373.previews.developers.cloudflare.com dd168ef 2026-09-05T22:16:47.002Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/.github/ @ahaywood, @colbywhite, @kodster28, @MohamedH1998, @mvvmm, @cloudflare/content-engineering

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

@mvvmm
mvvmm marked this pull request as ready for review September 7, 2026 13:52
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Review

✅ No issues found in commit 270c361.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@mvvmm
mvvmm merged commit 26ef2e0 into production Sep 7, 2026
15 checks passed
@mvvmm
mvvmm deleted the chore/expand-pr-labeler branch September 7, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants