ci: add PR risk experiment workflow - #5334
Conversation
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5334 +/- ##
==========================================
+ Coverage 74.15% 74.16% +0.01%
==========================================
Files 508 508
Lines 18353 18353
Branches 3586 3586
==========================================
+ Hits 13610 13612 +2
+ Misses 3870 3869 -1
+ Partials 873 872 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jamescrosswell
left a comment
There was a problem hiding this comment.
Thanks @betegon - looks interesting!
btw: It took me a while to work out what it does so I made a PR on the action repo tweaking the README.md file.
|
thanks for the PR @jamescrosswell ! @dingsdax told me was up for trying the action out in this repo but i forgot to put him as reviewer 😆. Thanks for reviewing it. It will make some mistakes now but i'll be improving it. |
@betegon yeah it's interesting - it flagged this one as medium risk, for example: That's just one of our regular/weekly dependency bumps (automatically generated PR). Technically, we probably will follow up with another PR within 30 days (just because the Cocoa team tend to make more than one release per month)... but I wouldn't otherwise see any reason for that PR to be medium/high risk. It's only categorised two PRs so far though - we'll get a better feel for it's overall reliability after a month or two of using it. |
Overview
Adds the PR Risk Action as an advisory workflow for non-draft pull requests. It runs on
pull_request_targetso it can keep therisk: low|medium|highlabel in sync, but it does not checkout or execute PR code.The Action now has a bundled
getsentry__sentry-dotnetprofile ingetsentry/pr-risk-action@v0, so this repo does not need to vendor any scorer code or model artifacts.Validation
getsentry/pr-risk-action@v0includes the sentry-dotnet profile and can scoregetsentry/sentry-dotnet#5333locally.pr-risk-actionunit tests: 39 tests passing.#skip-changelog