From b3b97ff7458e054a99360f8bc727948eb354f77f Mon Sep 17 00:00:00 2001 From: Gang Li Date: Wed, 18 Mar 2026 18:52:35 +0800 Subject: [PATCH] Avoid non source code files to trigger the merging action --- .github/workflows/maven-build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index afc96afe4..d05590822 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -24,6 +24,17 @@ on: push: branches: - master + # We should only let the source code files to trigger the push action + # to avoid meaningless snapshot pushing to sonatype + paths: + - 'api/**' + - 'caches/**' + - 'cdi-embedder/**' + - 'core/**' + - 'maven/**' + - 'testing/**' + - 'transports/**' + - 'pom.xml' workflow_dispatch: