Repository navigation
ci: Add PR classifiers workflow - #8334
Open
sentry-junior[bot] wants to merge 2 commits into
Open
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: johdax <114897+dingsdax@users.noreply.github.com>
alexander-alderman-webb
approved these changes
Nov 19, 2026
Contributor
Coverage Results 📊✅ 139495 passed | ⏭️ 7905 skipped | Total: 147400 | Pass Rate: 94.64% | Execution Time: 867m 29s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00% (no changed executable lines found; target 80%). Coverage diff@@ Coverage Diff @@
## master #8334 +/-##
==========================================
Coverage 90.23% 90.23% —%
==========================================
Files 203 203 —
Tracked lines 27349 27349 —
Branches 10252 10252 —
==========================================
+ Hits 24675 24676 +1
+ Misses 2674 2673 -1
+ Partials 1557 1556 -1Generated by Coverage Action |
This branch has not been deployed
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.
Description
Adds
.github/workflows/pr-classifiers.yml, the PR classifiers workflow that already runs in getsentry/sentry-java. It gives every pull request an advisory risk label (risk: low,risk: mediumorrisk: high) and keeps one summary comment that explains the label, so reviewers can see at a glance which changes need a closer look. The label is only a hint. It approves nothing and should not become a required check.The classifier lives in the internal getsentry/classifiers repository. The workflow gets a short-lived GitHub App token that can only read that repository, checks it out at a pinned commit and runs the action from there. Every action is pinned to a full commit SHA.
Before merging, this repository needs the
CLASSIFIERS_APP_CLIENT_IDActions variable, theCLASSIFIERS_APP_KEYandAI_GATEWAY_API_KEYActions secrets, and the classifiers GitHub App's access to getsentry/classifiers. Without them, every PR shows a failing (non-required) "PR classifiers" check.The workflow runs on
pull_request_target, so it does not run on this PR and takes effect after merge. To undo it, revert this PR.#skip-changelog
via @dingsdax.
--
View Session [Sentry]