From dd183a7b74700300ed471d7fa6f1be206b684a7f Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Tue, 27 Oct 2026 17:21:19 +0000 Subject: [PATCH] Skip release notes checks on draft pull requests 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 https://github.com/elastic/docs-actions/pull/442 in docs-actions v1. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0198Z15QXfthJ2QgGztrDHtu --- .github/workflows/release-notes.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index afb51b0eea..9e723de953 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -14,7 +14,7 @@ name: Release notes on: pull_request: - types: [opened, synchronize, reopened, labeled, unlabeled] + types: [opened, synchronize, reopened, labeled, unlabeled, ready_for_review, converted_to_draft] push: branches: [main] @@ -28,3 +28,6 @@ jobs: packages: read id-token: write uses: elastic/docs-actions/.github/workflows/release-notes.yml@v1 + with: + # Skip the checks and the PR comment on drafts. Needs ready_for_review above. + skip-drafts: true