This is an automated email from the ASF dual-hosted git repository.

smengcl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 69b9a856ea8 HDDS-17088. Skip push build for irrelevant files (#11591)
69b9a856ea8 is described below

commit 69b9a856ea8dfad0e07ee88659af3abece01d41c
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun Oct 18 07:07:48 2026 +0200

    HDDS-17088. Skip push build for irrelevant files (#11591)
---
 .github/workflows/post-commit.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index 31af4363bef..bd9023c03a2 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -17,6 +17,29 @@ on:
   pull_request:
     types: [opened, ready_for_review, synchronize]
   push:
+    paths-ignore:
+      # ignore files/dirs irrelevant for CI
+      - '.asf.yaml'
+      - '.devcontainer/**'
+      - '.editorconfig'
+      - '.gitattributes'
+      - '.gitignore'
+      - '.idea/**'
+      - '.run/**'
+      - '**.md'
+      - '**.txt'
+      - '!**/CMakeLists.txt'
+      - '!**/src/main/resources/**'
+      - '!**/src/test/resources/**'
+      - '!dev-support/rat/rat-exclusions.txt'
+      - '!hadoop-ozone/dist/src/main/license/jar-report.txt'
+      # ignore .github except this workflow and the ones used transitively
+      - '.github/**'
+      - '!.github/workflows/check.yml'
+      - '!.github/workflows/ci.yml'
+      - '!.github/workflows/post-commit.yml'
+      - '!.github/workflows/generate-config-doc.yml'
+      - '!.github/workflows/update-ozone-site-config-doc.yml'
 concurrency:
   group: ci-${{ github.event.pull_request.number || case(github.repository == 
'apache/ozone', github.sha, github.ref_name) }}
   cancel-in-progress: ${{ github.event_name == 'pull_request' || 
github.repository != 'apache/ozone' }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to