Skip to content

ci: stop CI on draft pull requests [skip ci] - #29484

Merged
OrcaWin merged 1 commit into
mainfrom
fix/skip-draft-pr-ci
Oct 16, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
fix/skip-draft-pr-ci

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

ELI5

Draft pull requests should not spend CI time before they are ready for review.

What Changed

Skip CI jobs on draft PRs across all 27 PR CI workflows. Marking a PR ready starts its checks; converting it back to draft cancels existing runs through the existing concurrency groups. The PR description's test-line counter still runs.

The main workflow skips both its change detector and final status job for drafts. Its required-check validator allows that exception while preserving failure reporting for ready PRs.

Why

Draft PR #29479 still started tests and packaging. Job conditions stop runner allocation while keeping checks available when review begins; commit-message skipping would require every author to remember it.

Linked Issue

Example: #29479.

Visual Proof

N/A — GitHub Actions configuration only.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

342 focused tests passed across eight suites, including draft admission, readiness, non-PR entry points, aggregate failures, and concurrency. Changed JavaScript lint, workflow formatting, and whitespace checks passed. Reproduced the previous main-workflow conditions admitting draft jobs. Tested on Linux; runner selection and platform commands are unchanged.

CI is explicitly skipped for this fast merge at the maintainer's request ([skip ci]).

Review

Self-reviewed the workflow guards and retained aggregate failure handling.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Only GitHub Actions scheduling changes; no desktop, mobile, folder-workspace, or SSH runtime changes.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

Full application validation is omitted for this workflow-only change; focused validation is listed above.

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