This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new c373f7b2493 Gate e2e-operation on non-doc changes (#37783)
c373f7b2493 is described below
commit c373f7b2493641f452e5918061ad2a6237bfaf61
Author: Liang Zhang <[email protected]>
AuthorDate: Tue Jan 20 01:48:50 2026 +0800
Gate e2e-operation on non-doc changes (#37783)
---
.github/workflows/e2e-operation.yml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/e2e-operation.yml
b/.github/workflows/e2e-operation.yml
index a737540a06b..4e2e8ac36d3 100644
--- a/.github/workflows/e2e-operation.yml
+++ b/.github/workflows/e2e-operation.yml
@@ -19,6 +19,21 @@ name: E2E - Operation
on:
pull_request:
+ branches: [ master ]
+ paths:
+ - '.github/workflows/e2e-operation.yml'
+ - '**/pom.xml'
+ - '**/src/main/**'
+ - '!examples/**'
+ - '!distribution/**'
+ - 'distribution/proxy/**'
+ - '!distribution/proxy/src/main/release-docs/**'
+ - '!test/**'
+ - 'test/pom.xml'
+ - 'test/e2e/fixture/**'
+ - 'test/e2e/env/**'
+ - 'test/e2e/operation/**'
+ - '!*.md'
workflow_dispatch:
concurrency:
@@ -50,7 +65,7 @@ jobs:
e2e-operation:
name: E2E - ${{ matrix.operation }} on ${{ matrix.image.version }}
- if: github.repository == 'apache/shardingsphere'
+ if: github.repository == 'apache/shardingsphere' &&
needs.detect-changed-files.outputs.changed_operations != '[]' &&
needs.detect-changed-files.outputs.changed_operations != '["ignore"]'
needs: [ detect-changed-files, global-environment ]
runs-on: ubuntu-latest
timeout-minutes: 40