diff options
author | Matt Clay <matt@mystile.com> | 2017-08-13 19:21:06 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2017-08-14 00:59:02 -0700 |
commit | a8b7f2a7e2c145d58e507a9c38ac01627c2bce10 (patch) | |
tree | 75c51620170604d5edea5275478bd51079645fc9 /shippable.yml | |
parent | a01aa6e9df1ff2d9399401ad6d1f2ce2a8fb9da0 (diff) | |
download | ansible-a8b7f2a7e2c145d58e507a9c38ac01627c2bce10.tar.gz |
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.
Diffstat (limited to 'shippable.yml')
-rw-r--r-- | shippable.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shippable.yml b/shippable.yml index 33de7395a3..58531132cf 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 |