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.
This commit is contained in:
parent
a01aa6e9df
commit
a8b7f2a7e2
1 changed files with 6 additions and 0 deletions
|
@ -58,6 +58,12 @@ matrix:
|
||||||
|
|
||||||
- env: TEST=cloud/ubuntu1604
|
- env: TEST=cloud/ubuntu1604
|
||||||
- env: TEST=cloud/ubuntu1604py3
|
- env: TEST=cloud/ubuntu1604py3
|
||||||
|
|
||||||
|
branches:
|
||||||
|
except:
|
||||||
|
- "*-patch-*"
|
||||||
|
- "revert-*-*"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
pre_ci:
|
pre_ci:
|
||||||
- docker images drydock/u16pytall
|
- docker images drydock/u16pytall
|
||||||
|
|
Loading…
Reference in a new issue