Draft Pull Request - CI/CD Glossary Definition
A draft pull request is a PR marked as not ready for review or merge, useful for early feedback.
A draft pull request is a PR in a work-in-progress state that cannot be merged until marked ready for review. Draft status is exposed to workflows as github.event.pull_request.draft.
Skipping CI on drafts
To save runner minutes, gate expensive jobs with if: github.event.pull_request.draft == false so they run only once the PR leaves draft. The ready_for_review event type can then trigger the full suite.
Related guides
Pull Request Review - CI/CD Glossary DefinitionPull Request Review: A pull request review is a submitted verdict on a PR with a state of `APPROVED`, `CHANGE…
Auto-Merge - CI/CD Glossary DefinitionAuto-Merge: Auto-merge is a GitHub feature that queues a pull request to merge as soon as its merge checks ar…
Build Trigger - CI/CD Glossary DefinitionBuild Trigger: A build trigger is the event that launches a pipeline: a push, a pull request, a tag, a schedu…