Skip to content

chore: Add PR validation workflow - #5239

Merged
stephanie-anderson merged 1 commit into
mainfrom
chore/add-validate-pr-workflow
Mar 27, 2026
Merged

chore: Add PR validation workflow#5239
stephanie-anderson merged 1 commit into
mainfrom
chore/add-validate-pr-workflow

Conversation

@stephanie-anderson

@stephanie-andersonstephanie-anderson commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a validate-pr.yml workflow to automatically validate non-maintainer PRs
  • Checks that PRs reference a GitHub issue with prior discussion between the author and a maintainer
  • Closes PRs that don't meet contribution guidelines (no issue reference, no maintainer discussion, or issue assigned to someone else)
  • Enforces that all PRs start as drafts

Rollout of getsentry/sentry-python#4233 across all SDK repos.

#skip-changelog

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Automatically validates non-maintainer PRs by checking:
- Issue reference exists in PR body
- Referenced issue has discussion between author and maintainer
- Referenced issue is not assigned to someone else
Also enforces that all PRs start as drafts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

github-actionsBot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@sentry

sentryBot commented Mar 27, 2026

Copy link
Copy Markdown

Sentry Build Distribution

App NameApp IDVersionConfigurationInstall Page
SDK Sizeio.sentry.tests.size8.37.1 (1)releaseInstall Build

@github-actions

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

PlainWith SentryDiff
Startup time357.22 ms424.10 ms66.88 ms
Size0 B0 B0 B

Baseline results on branch: main

Startup times

RevisionPlainWith SentryDiff
6405ec5310.88 ms354.56 ms43.69 ms
d5a29b6298.62 ms391.78 ms93.16 ms
f064536329.00 ms395.62 ms66.62 ms
fcec2f2357.47 ms447.32 ms89.85 ms
bbc35bb324.88 ms425.73 ms100.85 ms
694d587312.37 ms402.77 ms90.41 ms
b8bd880314.56 ms336.50 ms21.94 ms
889ecea367.58 ms437.52 ms69.94 ms
e2dce0b308.96 ms360.10 ms51.14 ms
83884a0334.46 ms400.92 ms66.46 ms

App size

RevisionPlainWith SentryDiff
6405ec51.58 MiB2.12 MiB552.23 KiB
d5a29b61.58 MiB2.12 MiB549.37 KiB
f0645361.58 MiB2.20 MiB633.90 KiB
fcec2f21.58 MiB2.12 MiB551.50 KiB
bbc35bb1.58 MiB2.12 MiB553.01 KiB
694d5871.58 MiB2.19 MiB620.06 KiB
b8bd8801.58 MiB2.29 MiB722.92 KiB
889ecea1.58 MiB2.11 MiB539.75 KiB
e2dce0b0 B0 B0 B
83884a01.58 MiB2.29 MiB722.97 KiB

@stephanie-anderson
stephanie-anderson marked this pull request as ready for review March 27, 2026 14:27
@stephanie-anderson
stephanie-anderson enabled auto-merge (squash) March 27, 2026 14:27
Comment thread.github/workflows/validate-pr.yml

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread.github/workflows/validate-pr.yml
@dingsdax
dingsdax self-requested a review March 27, 2026 14:34
@stephanie-anderson
stephanie-anderson merged commit 6285fcc into mainMar 27, 2026
72 checks passed
@stephanie-anderson
stephanie-anderson deleted the chore/add-validate-pr-workflow branch March 27, 2026 14:50
Sign up for freeto 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

@stephanie-anderson@dingsdax