From a8b7f2a7e2c145d58e507a9c38ac01627c2bce10 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Sun, 13 Aug 2017 19:21:06 -0700 Subject: [PATCH] Skip CI for default GitHub patch/revert branches. The default naming convention for patch branches created in the GitHub UI when editing files is: {username}-patch-{number} The default naming convention for revert branches created in the GitHub UI when reverting a PR is: revert-{pr_number}-{pr_branch_name} This exclusion will prevent Shippable from running on these branches until a PR is created. --- shippable.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shippable.yml b/shippable.yml index 33de7395a34..58531132cf4 100644 --- a/shippable.yml +++ b/shippable.yml @@ -58,6 +58,12 @@ matrix: - env: TEST=cloud/ubuntu1604 - env: TEST=cloud/ubuntu1604py3 + +branches: + except: + - "*-patch-*" + - "revert-*-*" + build: pre_ci: - docker images drydock/u16pytall