Skip to content

ci: skip draft PRs - #7

Closed
gold-silver-copper wants to merge 1 commit into
mainfrom
ci/step5-drift
Closed

gold-silver-copper wants to merge 1 commit into
mainfrom
ci/step5-drift

Conversation

@gold-silver-copper

@gold-silver-copper gold-silver-copper commented Nov 18, 2026 •

Copy link
Copy Markdown

Makes gitkb/workflows' scripts/conformance.py report no drift for this repo (ready-for-review finding).

Draft PRs (owner decision, 2026-11-18): every pull_request trigger now lists ready_for_review (with the default opened, synchronize, reopened), and every root job has if: github.event.pull_request.draft != true (combined with its existing condition). A draft runs nothing; marking it ready runs CI once. Push, schedule and dispatch runs are unaffected (github.event.pull_request is empty there).

Verified: the conformance checks run locally against this branch report nothing for the repo; actionlint is clean.
Not verified: the run on a draft PR itself (CI on this PR runs as a ready PR).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Chores
    • Pull request checks now run when a pull request is opened, updated, reopened, or marked ready for review. Checks are skipped while a pull request remains a draft; push-triggered checks continue to run as before.
    • These workflow changes do not alter application features or behavior.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CI workflow explicitly lists pull request activity types. The validate job skips draft pull requests. Push-triggered runs remain unaffected.

Changes

CI validation

Layer / File(s) Summary
Pull request trigger and draft handling
.github/workflows/ci.yml
The workflow lists pull request activity types. The validate job skips draft pull requests.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Suggested reviewers: mateodelnorte

Merge Risk: Minimal · up to 04389

This CI change skips validation on draft pull requests and runs it when a PR is marked ready for review. Push runs are unaffected. No merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: skip draft PRs" matches the changeset. The ci.yml change makes the validate job skip draft pull requests, and the CI workflow now runs for ready_for_review events. The title is short an…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: skip draft PRs" matches the changeset. The ci.yml change makes the validate job skip draft pull requests, and the CI workflow now runs for ready_for_review events. The title is short and specific. It names the primary change, although it does not mention the added ready-for-review trigger.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the workflow's call,
New pull request events join the list.
Drafts pause validation for now,
Push runs carry on as before.
I hop through the checks and thump the floor!

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: ddd66c4f-8860-448f-b24c-46f066cba1b0
Commits

Reviewing files that changed from the base of the PR and between 7cc4eec and 043893e.

Files selected for processing: 1

  • .github/workflows/ci.yml

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@gold-silver-copper
gold-silver-copper marked this pull request as ready for review November 18, 2026 18:02
@coderabbitai
coderabbitai Bot requested a review from mateodelnorte November 18, 2026 18:03
@gold-silver-copper

Copy link
Copy Markdown
Author

Closing: step 5 is stopped; replaced by moving every workflow to thin callers of gitkb/workflows.

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