Cloud Build - GitHub Integration - Draft PR

125 views
Skip to first unread message

Rowan Laurence

unread,
Nov 26, 2021, 9:39:34 AM11/26/21
to Google Cloud Developers
Hello, we would love to be able to use Draft PRs in Github where we do not want to kick off a build, currently on dev we have triggers on all commits, but we want to exclude draft PRs from kicking off our staging builds.

Is there a way to do this?

Many thanks

George (Cloud Platform Support)

unread,
Nov 26, 2021, 4:51:09 PM11/26/21
to Google Cloud Developers
Hello Rowan, 

Do you want to know if, basically, you can skip a build trigger? If so, you may simply refer to the "Skipping a build trigger" sub-chapter of the Creating and managing build triggers documentation page. This boils down to  including [skip ci] or [ci skip] in the commit message, and a build will not be invoked.

Reply all
Reply to author
Forward
0 new messages