Skip to content

Skip docs-missing checks for release PRs #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025
Merged

Skip docs-missing checks for release PRs #306

merged 1 commit into from
Jun 27, 2025

Conversation

frenck
Copy link
Member

@frenck frenck commented Jun 27, 2025

Release PRs are different; we merge the branches and don't have a direct documentation PR for them.

This PR adjust the behavior to prevent a constant check error on those PRs. Added tests.

@joostlek joostlek merged commit b6da2b4 into main Jun 27, 2025
4 checks passed
@joostlek joostlek deleted the frenck-2025-0329 branch June 27, 2025 08:55
@@ -25,6 +25,8 @@ export class DocsMissing extends BaseWebhookHandler {
PullRequestLabeledEvent | PullRequestUnlabeledEvent | PullRequestSynchronizeEvent
>,
) {
const isReleasePR = context.payload.pull_request.base.ref === 'master';
Copy link
Member

Choose a reason for hiding this comment

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

In an ideal world this is true, but it is possible to open a PR against master without it being a release.
I think this should have been isPRAgainstMaster

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.

3 participants