Skip to content

Skip release notes checks on draft pull requests - #9057

Merged
theletterf merged 1 commit into
mainfrom
docs/release-notes-skip-drafts
Oct 27, 2026
Merged

theletterf merged 1 commit into
mainfrom
docs/release-notes-skip-drafts

Conversation

@theletterf

Copy link
Copy Markdown
Member

Draft pull requests in this repository no longer get the release notes check or its pull request comment. The check runs when the pull request is marked ready for review.

Why

Release notes: Check runs on every pull request, drafts included. A draft without the right label gets a failed check and a comment before the author is ready.

What

The caller in .github/workflows/release-notes.yml now does three things:

  • It sets skip-drafts: true, so a draft shows the check as skipped and gets no comment. GitHub cannot merge a draft, so a skipped check never lets a pull request through.
  • It listens for ready_for_review, so the check runs as soon as a pull request leaves draft.
  • It listens for converted_to_draft, so a failed check turns into a skipped one when a pull request goes back to draft.

Do not merge yet. The skip-drafts input comes from elastic/docs-actions#442, which is not in docs-actions@v1 yet. Until then, the release notes workflow on this pull request fails because it does not know the input.


Generated by Claude Code

Draft PRs get a failed release notes check and a "Changelog labels needed"
comment before the author is ready. skip-drafts skips both on drafts. The
ready_for_review event runs the checks when the PR is ready, and
converted_to_draft clears a failed check when a PR goes back to draft.

Needs elastic/docs-actions#442 in docs-actions v1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0198Z15QXfthJ2QgGztrDHtu
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@theletterf
theletterf marked this pull request as ready for review October 27, 2026 18:05
@theletterf
theletterf requested a review from a team as a code owner October 27, 2026 18:05
@theletterf
theletterf requested a review from technige October 27, 2026 18:05
@theletterf
theletterf merged commit 8666399 into main Oct 27, 2026
13 checks passed
@theletterf
theletterf deleted the docs/release-notes-skip-drafts branch October 27, 2026 18:09
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