Skip to content

feat(validate-pr): Skip all checks when a maintainer reopens a PR#161

Merged
stephanie-anderson merged 2 commits intomainfrom
feat/skip-checks-on-maintainer-reopen
Apr 1, 2026
Merged

feat(validate-pr): Skip all checks when a maintainer reopens a PR#161
stephanie-anderson merged 2 commits intomainfrom
feat/skip-checks-on-maintainer-reopen

Conversation

@stephanie-anderson
Copy link
Copy Markdown
Contributor

When a maintainer reopens a previously closed PR, skip all validation
(issue reference, maintainer discussion, assignee checks). This allows
maintainers to override the action's decision without the PR being
immediately re-closed.

The check uses context.payload.sender to identify who reopened the PR
and verifies they have admin or maintain role on the repository.

When a maintainer reopens a previously closed PR, skip all validation
(issue reference, maintainer discussion, assignee checks). This allows
maintainers to override the action's decision without the PR being
immediately closed again.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Warnings
⚠️ Could not load custom Dangerfile: .github/test-dangerfile-curl.js Error: ENOENT: no such file or directory, lstat '/github/workspace/.github/test-dangerfile-curl.js'
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against de842fa

Avoids an unnecessary GitHub API call when the PR author is a bot.
Also renumbers steps for consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stephanie-anderson stephanie-anderson marked this pull request as ready for review April 1, 2026 11:17
@stephanie-anderson stephanie-anderson merged commit 02fd7a2 into main Apr 1, 2026
25 checks passed
This was referenced Apr 1, 2026
stephanie-anderson added a commit to getsentry/sentry-rust that referenced this pull request Apr 1, 2026
Update validate-pr action to getsentry/github-workflows@71588dd.

Changes included:
- Skip all checks when a maintainer reopens a PR
(getsentry/github-workflows#161)
- Skip checks for users with write access
(getsentry/github-workflows#162)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
stephanie-anderson added a commit to getsentry/sentry-python that referenced this pull request Apr 1, 2026
Update validate-pr action to getsentry/github-workflows@71588dd.

Changes included:
- Skip all checks when a maintainer reopens a PR
(getsentry/github-workflows#161)
- Skip checks for users with write access
(getsentry/github-workflows#162)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
stephanie-anderson added a commit to getsentry/sentry-javascript that referenced this pull request Apr 1, 2026
Update validate-pr action to getsentry/github-workflows@71588dd.

Changes included:
- Skip all checks when a maintainer reopens a PR
(getsentry/github-workflows#161)
- Skip checks for users with write access
(getsentry/github-workflows#162)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant