Repository navigation
ci: Add the PR classifiers workflow - #7142
Merged
Merged
Conversation
Runs the shared getsentry/github-workflows/pr-classifiers action on pull requests, which puts a risk label on each one. It reads the fact sheet already at .github/classifiers.toml. Co-Authored-By: Chris Aigner <[email protected]>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
Contributor
Co-Authored-By: Chris Aigner <[email protected]>
Co-Authored-By: Chris Aigner <[email protected]>
sentry-junior
Bot
requested review from
alwx,
antonis and
lucas-zimerman
as code owners
November 30, 2026 12:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/pr-classifiers.yml, which runs the sharedgetsentry/github-workflows/pr-classifiersaction (getsentry/github-workflows#188) on every pull request. It puts a risk label on the PR and keeps one summary comment that explains it, so reviewers can see at a glance which changes need a closer look. The label is a hint, not a merge gate. This rolls the classifiers out to sentry-react-native the same way getsentry/sentry-java#6760 does for sentry-java, and uses the fact sheet already onmainat.github/classifiers.toml.The workflow is the one from the action's README, pinned to the getsentry/github-workflows commit that added the action, with
publish-comment: trueto match sentry-java. It reads theCLASSIFIERS_APP_CLIENT_IDvariable and theCLASSIFIERS_APP_KEYandAI_GATEWAY_API_KEYsecrets, which are now available to this repo.It runs on
pull_request_targetso it can read secrets on fork PRs, and it checks out no PR code. GitHub runs the base branch's copy of the workflow, so it takes effect after merge, not on this PR. To undo it, revert this PR.via @christophaigner.
--
View Session [Sentry]