Repository navigation
👷 Skip CI on draft pull requests - #1
Merged
Merged
Conversation
- Run the pull_request workflow on ready_for_review in addition to the default types - Skip the check job while the pull request is a draft; push and workflow_dispatch run as before
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
.github/workflows/main.ymlon.pull_request.typestoopened/synchronize/reopened/ready_for_review(branches: [main]kept)if: github.event_name != 'pull_request' || !github.event.pull_request.draftto jobcheckBehavior
checkis skippedready_for_review)checkrunssynchronize)checkrunsworkflow_dispatchcheckruns as beforeThe
prskill'sready-and-watch.shwaits for apull_requestrun created after Ready. With the default types (opened / synchronize / reopened), marking a PR Ready does not start CI, soready_for_reviewis added.README does not describe CI triggers, so no doc changes. Propagating this to derived repositories is out of scope.
Verification on this PR
Checked at head
ec8b2d3.skippedready_for_reviewat 2026-10-20T18:52:47Z): run 39478594467 (createdAt 18:52:48Z) started and concludedsuccessworkflow_dispatch: the first term ofifis always true. Not verified with a real run, since this PR is not merged yet