File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,19 @@ parameters:
35
35
evm-version :
36
36
type : string
37
37
default : prague
38
+ # Path filtering parameters
39
+ # Main workflow
40
+ run-workflow :
41
+ type : boolean
42
+ default : true
43
+ # Documentation workflow
44
+ run-docs-workflow :
45
+ type : boolean
46
+ default : false
38
47
39
48
orbs :
40
49
50
+ path-filtering :
circleci/[email protected]
41
51
42
52
commands :
43
53
matrix_notify_unless_pr :
@@ -1872,7 +1882,23 @@ jobs:
1872
1882
workflows :
1873
1883
version : 2
1874
1884
1885
+ setup :
1886
+ when : << pipeline.parameters.run-workflow >>
1887
+ jobs :
1888
+ - path-filtering/filter :
1889
+ name : filter-docs
1890
+ mapping : |
1891
+ docs/.* run-docs-workflow true
1892
+ base-revision : develop
1893
+ config-path : .circleci/config.yml
1894
+
1895
+ docs :
1896
+ when : << pipeline.parameters.run-docs-workflow >>
1897
+ jobs :
1898
+ - b_docs : *requires_nothing
1899
+
1875
1900
main :
1901
+ when : << pipeline.parameters.run-workflow >>
1876
1902
jobs :
1877
1903
# basic checks
1878
1904
- chk_spelling : *requires_nothing
@@ -1887,8 +1913,6 @@ workflows:
1887
1913
- t_ubu_pyscripts : *requires_nothing
1888
1914
- t_win_pyscripts : *requires_nothing
1889
1915
1890
- # build-only
1891
- - b_docs : *requires_nothing
1892
1916
- b_ubu_ossfuzz : *requires_nothing
1893
1917
- b_ubu_2204 : *requires_nothing
1894
1918
- b_ubu_2204_clang : *requires_nothing
You can’t perform that action at this time.
0 commit comments