diff --git a/.asf.yaml b/.asf.yaml index 2cc4b1d1b4..9aa07d545a 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -33,6 +33,7 @@ github: protected_branches: master: required_status_checks: + # Keep workflows providing these checks unfiltered; path skips can leave required checks pending. # strict means "Require PR to be up-to-date before merging". (enable when branch unstable) strict: false # contexts are the names of checks that must pass (now only enable the basic check) diff --git a/.github/workflows/check-dependencies.yml b/.github/workflows/check-dependencies.yml index 447162d67f..23efa75ddb 100644 --- a/.github/workflows/check-dependencies.yml +++ b/.github/workflows/check-dependencies.yml @@ -4,8 +4,19 @@ name: "3rd-party" on: push: branches: - - /^release-.*$/ + - 'release-*' pull_request: + # Keep source/resources and shared build inputs; skip named documentation files. + paths: + - '**/pom.xml' + - '.mvn/**' + - '.github/configs/**' + - 'install-dist/**' + - '**/*.jar' + - '.github/workflows/check-dependencies.yml' + - '!**/README*' + - '!**/AGENTS.md' + - '!**/CLAUDE.md' permissions: contents: read diff --git a/.github/workflows/cluster-test-ci.yml b/.github/workflows/cluster-test-ci.yml index 3ef269e878..c2972cb9f9 100644 --- a/.github/workflows/cluster-test-ci.yml +++ b/.github/workflows/cluster-test-ci.yml @@ -7,6 +7,24 @@ on: - 'release-*' - 'test-*' pull_request: + # Keep source/resources and shared build inputs; skip named documentation files. + paths: + - 'pom.xml' + - '.mvn/**' + - 'style/**' + - '.editorconfig' + - '.github/configs/**' + - 'hugegraph-commons/**' + - 'hugegraph-struct/**' + - 'hugegraph-pd/**' + - 'hugegraph-store/**' + - 'hugegraph-server/**' + - 'hugegraph-cluster-test/**' + - 'install-dist/**' + - '.github/workflows/cluster-test-ci.yml' + - '!**/README*' + - '!**/AGENTS.md' + - '!**/CLAUDE.md' jobs: cluster-test: diff --git a/.github/workflows/commons-ci.yml b/.github/workflows/commons-ci.yml index a03aaf09ff..fd01df1825 100644 --- a/.github/workflows/commons-ci.yml +++ b/.github/workflows/commons-ci.yml @@ -5,8 +5,8 @@ on: push: branches: - master - - /^release-.*$/ - - /^test-.*$/ + - 'release-*' + - 'test-*' pull_request: jobs: diff --git a/.github/workflows/docker-build-ci.yml b/.github/workflows/docker-build-ci.yml index 706ae52d56..97e2d37a41 100644 --- a/.github/workflows/docker-build-ci.yml +++ b/.github/workflows/docker-build-ci.yml @@ -23,20 +23,26 @@ on: - master - 'release-*' pull_request: + # Keep source/resources and shared build inputs; skip named documentation files. paths: - - '.github/workflows/docker-build-ci.yml' - - 'docker/bake.hcl' - - '.dockerignore' - - '.mvn/**' - 'pom.xml' + - '.mvn/**' + - 'style/**' + - '.editorconfig' + - '.github/configs/**' - 'hugegraph-commons/**' - - 'hugegraph-cluster-test/**' + - 'hugegraph-struct/**' - 'hugegraph-pd/**' - 'hugegraph-store/**' - - 'hugegraph-struct/**' - 'hugegraph-server/**' - - 'docker/hbase/**' + - 'hugegraph-cluster-test/**' - 'install-dist/**' + - 'docker/**' + - '.dockerignore' + - '.github/workflows/docker-build-ci.yml' + - '!**/README*' + - '!**/AGENTS.md' + - '!**/CLAUDE.md' jobs: docker-bake-check: diff --git a/.github/workflows/pd-store-ci.yml b/.github/workflows/pd-store-ci.yml index 48b5ae8c0b..79217cfc58 100644 --- a/.github/workflows/pd-store-ci.yml +++ b/.github/workflows/pd-store-ci.yml @@ -7,6 +7,24 @@ on: - 'release-*' - 'test-*' pull_request: + # Keep source/resources and shared build inputs; skip named documentation files. + paths: + - 'pom.xml' + - '.mvn/**' + - 'style/**' + - '.editorconfig' + - '.github/configs/**' + - 'hugegraph-commons/**' + - 'hugegraph-struct/**' + - 'hugegraph-pd/**' + - 'hugegraph-store/**' + - 'hugegraph-server/**' + - '.github/workflows/pd-store-ci.yml' + - 'docker/**' + - 'install-dist/**' + - '!**/README*' + - '!**/AGENTS.md' + - '!**/CLAUDE.md' # TODO: consider merge to one ci.yml file jobs: