Unverified Commit 496cb40e authored by Matti Picus's avatar Matti Picus Committed by GitHub
Browse files

fixup '*' -> '/.*/' for CI filter (#4059)

parent 5d93a87f
...@@ -1028,7 +1028,7 @@ workflows: ...@@ -1028,7 +1028,7 @@ workflows:
cu_version: cpu cu_version: cpu
filters: filters:
branches: branches:
only: '*' only: /.*/
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_linux_wheel_py3.7_cpu name: binary_linux_wheel_py3.7_cpu
...@@ -1432,7 +1432,7 @@ workflows: ...@@ -1432,7 +1432,7 @@ workflows:
filters: filters:
branches: branches:
only: only:
- '*' - /.*/
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: build_docs name: build_docs
......
...@@ -50,14 +50,14 @@ def build_workflows(prefix='', filter_branch=None, upload=False, indentation=6, ...@@ -50,14 +50,14 @@ def build_workflows(prefix='', filter_branch=None, upload=False, indentation=6,
btype == 'wheel' and btype == 'wheel' and
python_version == '3.7'): python_version == '3.7'):
# the fields must match the build_docs "requires" dependency # the fields must match the build_docs "requires" dependency
fb = "*" fb = "/.*/"
w += workflow_pair( w += workflow_pair(
btype, os_type, python_version, cu_version, btype, os_type, python_version, cu_version,
unicode, prefix, upload, filter_branch=fb) unicode, prefix, upload, filter_branch=fb)
if not filter_branch: if not filter_branch:
# Build on every pull request, but upload only on nightly and tags # Build on every pull request, but upload only on nightly and tags
w += build_doc_job('*') w += build_doc_job('/.*/')
w += upload_doc_job('nightly') w += upload_doc_job('nightly')
return indent(indentation, w) return indent(indentation, w)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment