Skip to content

Run CI when a draft PR is marked ready for review#498

Merged
afeefghannam89 merged 3 commits into
mainfrom
start-pipeline-after-draft
Jul 20, 2026
Merged

Run CI when a draft PR is marked ready for review#498
afeefghannam89 merged 3 commits into
mainfrom
start-pipeline-after-draft

Conversation

@afeefghannam89

Copy link
Copy Markdown
Member

pull_request-triggered workflows use the default activity types
(opened, synchronize, reopened), which do not include ready_for_review.
Together with the if: github.event.pull_request.draft == false guard, converting
a draft PR to "ready for review" therefore starts no CI — the checks only ran
(skipped) while it was a draft.

@afeefghannam89
afeefghannam89 marked this pull request as draft July 20, 2026 15:06
@afeefghannam89
afeefghannam89 marked this pull request as ready for review July 20, 2026 15:06
@afeefghannam89
afeefghannam89 merged commit c3f6448 into main Jul 20, 2026
76 checks passed
@afeefghannam89
afeefghannam89 deleted the start-pipeline-after-draft branch July 20, 2026 15:08
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