Skip to content

Commit 1481116

Browse files
yhwangtdcmeehan
authored andcommitted
ci: simplify GH actions for doc change
Reduce the GH actions when the PR only contains doc changes that reside under the `presto-docs` directory. Signed-off-by: Yihong Wang <yh.wang@ibm.com>
1 parent 4bf581f commit 1481116

7 files changed

Lines changed: 14 additions & 0 deletions

‎.github/workflows/hive-tests.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: hive tests
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

‎.github/workflows/kudu.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: kudu
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

‎.github/workflows/product-tests-basic-environment.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: product tests (basic)
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

‎.github/workflows/product-tests-specific-environment.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: ci
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

‎.github/workflows/spark-integration.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: spark integration
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

‎.github/workflows/test-other-modules.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: test other modules
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

‎.github/workflows/web-ui-checks.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: web ui checks
22

33
on:
44
pull_request:
5+
paths-ignore:
6+
- 'presto-docs/**'
57

68
env:
79
# An envar that signals to tests we are executing in the CI environment

0 commit comments

Comments
 (0)