Skip to content

feat(ci): add automatic PR labeling by package/app#486

Open
ruudandriessen wants to merge 1 commit intomainfrom
ruudandriessen/pr-auto-labels
Open

feat(ci): add automatic PR labeling by package/app#486
ruudandriessen wants to merge 1 commit intomainfrom
ruudandriessen/pr-auto-labels

Conversation

@ruudandriessen
Copy link
Copy Markdown
Collaborator

Summary

  • Adds actions/labeler@v5 workflow that automatically labels PRs based on changed file paths
  • Configures labels for all packages (pkg:apollo-core, pkg:apollo-react, pkg:apollo-wind, pkg:ap-chat), apps (app:apollo-vertex, app:storybook, app:landing, app:react-playground), and CI (.github/**)
  • Uses sync-labels: true so labels are removed when files are no longer part of the changeset

Test plan

  • Open a PR touching a single package and verify the correct label is applied
  • Open a PR touching multiple packages/apps and verify all relevant labels appear
  • Force-push to remove a file and verify the stale label is removed

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Apr 10, 2026, 03:56:24 AM
apollo-landing 🟢 Ready Preview, Logs Apr 10, 2026, 03:56:17 AM
apollo-ui-react 🟢 Ready Preview, Logs Apr 10, 2026, 03:56:27 AM
apollo-vertex 🟢 Ready Preview, Logs Apr 10, 2026, 03:57:35 AM
apollo-wind 🟢 Ready Preview, Logs Apr 10, 2026, 03:56:36 AM

@github-actions github-actions bot added the size:M 30-99 changed lines. label Apr 10, 2026
@github-actions
Copy link
Copy Markdown

Dependency License Review

  • 1948 package(s) scanned
  • ✅ No license issues found
  • ⚠️ 4 package(s) excluded (see details below)
License distribution
License Packages
MIT 1707
ISC 89
Apache-2.0 61
BSD-3-Clause 28
BSD-2-Clause 23
BlueOak-1.0.0 8
MPL-2.0 5
MIT OR Apache-2.0 3
MIT-0 3
CC0-1.0 3
LGPL-3.0-or-later 2
Unknown 2
(MIT OR Apache-2.0) 2
Unlicense 2
Python-2.0 1
CC-BY-4.0 1
(MPL-2.0 OR Apache-2.0) 1
Artistic-2.0 1
(WTFPL OR MIT) 1
(BSD-2-Clause OR MIT OR Apache-2.0) 1
CC-BY-3.0 1
0BSD 1
(MIT OR CC0-1.0) 1
MIT AND ISC 1
Excluded packages
Package Version License Reason
@img/sharp-libvips-linux-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@img/sharp-libvips-linuxmusl-x64 1.2.4 LGPL-3.0-or-later LGPL pre-built binary, not linked
@uipath/proteus-client 0.1.10 Unknown UiPath internal package, Proprietary license
khroma 2.1.0 Unknown MIT per GitHub repo, missing license field in package.json

@ruudandriessen ruudandriessen force-pushed the ruudandriessen/pr-auto-labels branch from 1659808 to 5ee7dfa Compare April 10, 2026 10:52
Add actions/labeler workflow to automatically label PRs based on which
packages and apps are modified, making it easy to filter PRs by area.
@ruudandriessen ruudandriessen force-pushed the ruudandriessen/pr-auto-labels branch from 5ee7dfa to 062bf8d Compare April 10, 2026 10:54
@github-actions github-actions bot added the ci label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci size:M 30-99 changed lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants