Skip to content

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

Draft
mvvmm wants to merge 1 commit into
productionfrom
chore/expand-pr-labeler
Draft

chore: expand PR labeler coverage to partials, images, release notes, and missing products#33257
mvvmm wants to merge 1 commit 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 dd168ef)

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://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/ @cloudflare/content-engineering, @kodster28, @mvvmm, @colbywhite, @ahaywood, @MohamedH1998

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

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.

5 participants