Skip to content

feat(ci): add PR risk experiment workflow#1129

Merged
betegon merged 4 commits into
mainfrom
feat/pr-risk-experiment
Jun 23, 2026
Merged

feat(ci): add PR risk experiment workflow#1129
betegon merged 4 commits into
mainfrom
feat/pr-risk-experiment

Conversation

@betegon

@betegon betegon commented Jun 23, 2026

Copy link
Copy Markdown
Member

Summary

Adds a non-blocking PR risk experiment workflow for getsentry/cli. The workflow calls the shared public Action getsentry/pr-risk-action@v0, scores the current PR, writes a GitHub step summary, and uploads the JSON result as an artifact.

This is advisory only: it does not comment on PRs and does not fail the build.

Details

  • Keeps this repository thin: only .github/workflows/pr-risk.yml is added.
  • The scorer code, selected model, and current getsentry/cli history profile live in getsentry/pr-risk-action.
  • Runs on opened, synchronize, reopened, and ready_for_review pull request events, skipping draft PRs.

Test Plan

  • PYTHONPATH=src python3 -m unittest discover -s tests in getsentry/pr-risk-action
  • Smoke-tested the shared action package locally against getsentry/cli#1129 with the bundled getsentry__cli profile.
  • getsentry/pr-risk-action CI is green on main.

@betegon betegon marked this pull request as ready for review June 23, 2026 20:03
@betegon betegon merged commit 0a431d0 into main Jun 23, 2026
28 checks passed
@betegon betegon deleted the feat/pr-risk-experiment branch June 23, 2026 20:04
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.

1 participant