Skip to content

ci: Add PR classifiers workflow - #8334

Open
sentry-junior[bot] wants to merge 2 commits into
masterfrom
ci/pr-classifiers
Open

sentry-junior[bot] wants to merge 2 commits into
masterfrom
ci/pr-classifiers

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

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: medium or risk: 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_ID Actions variable, the CLASSIFIERS_APP_KEY and AI_GATEWAY_API_KEY Actions 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]

Co-Authored-By: johdax <114897+dingsdax@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 19, 2026 15:34
@sentry-junior
sentry-junior Bot requested a review from dingsdax November 19, 2026 15:34
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 139495 passed | ⏭️ 7905 skipped | Total: 147400 | Pass Rate: 94.64% | Execution Time: 867m 29s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +239
Passed Tests 📈 +192
Failed Tests 📉 -1
Skipped Tests 📈 +48

All tests are passing successfully.

✅ Patch coverage is 100.00% (no changed executable lines found; target 80%).
Project statement coverage is 90.23% (unchanged from base (7499ae7) to head (ecd889e)).

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        -1

Generated by Coverage Action

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants