Skip to content

DOCS-1711 - Fix merge window to soft-warn for docs-only PRs in merge queue#6830

Open
kimsauce wants to merge 2 commits into
mainfrom
docs-1711-fix-merge-window-merge-group
Open

DOCS-1711 - Fix merge window to soft-warn for docs-only PRs in merge queue#6830
kimsauce wants to merge 2 commits into
mainfrom
docs-1711-fix-merge-window-merge-group

Conversation

@kimsauce

@kimsauce kimsauce commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Purpose of this pull request

This pull request fixes two issues with the merge window check in .github/workflows/pr.yml:

  1. Docs-only PRs hard-blocked in merge queue — The merge_group event path was missing the file classification logic present in the pull_request path, causing docs-only PRs to be hard-blocked outside the window instead of passing with a soft warning. Fix hoists ARTICLE_PATTERNS and classification into shared helpers used by both paths.

  2. Node.js 20 deprecation warning — Bumps actions/github-script from v7 (Node.js 20) to v8 (Node.js 24) to resolve deprecation warnings on runners that now default to Node.js 24.

Select the type of change

  • Minor Changes - Typos, formatting, slight revisions
  • Update Content - Revisions, updating sections
  • New Content - New features, sections, pages, tutorials
  • Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)

https://sumologic.atlassian.net/browse/DOCS-1711
https://sumologic.atlassian.net/browse/DOCS-1712

…queue

The merge_group event path hard-blocked all PRs outside the window
regardless of file type. Hoist ARTICLE_PATTERNS and file classification
into shared helpers so the merge queue applies the same two-tier policy
as the pull_request path: hard-block site changes, soft-warn for docs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kimsauce kimsauce self-assigned this Jun 22, 2026
@cla-bot cla-bot Bot added the cla-signed Contributor approved, listed in .clabot file label Jun 22, 2026
v7 runs on Node.js 20, which is deprecated on GitHub Actions runners
now defaulting to Node.js 24. v8 targets Node.js 24 and resolves the
deprecation warning on every PR check run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Contributor approved, listed in .clabot file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant