diff --git a/.github/workflows/bindings_python_ci.yml b/.github/workflows/bindings_python_ci.yml index f804510f05..84ce59fca8 100644 --- a/.github/workflows/bindings_python_ci.yml +++ b/.github/workflows/bindings_python_ci.yml @@ -18,6 +18,22 @@ name: Bindings Python CI on: + push: + branches: + - main + paths: + - '**' # Include all files and directories in the repository by default. + - '!.github/ISSUE_TEMPLATE/**' # Exclude files and directories that don't impact tests or code like templates, metadata, and documentation. + - '!dev/release/**' + - '!website/**' + - '!.asf.yml' + - '!.gitattributes' + - '!.gitignore' + - '!CONTRIBUTING.md' + - '!CHANGELOG.md' + - '!LICENSE' + - '!NOTICE' + - '!README.md' pull_request: merge_group: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef36027fdc..e1c6b94d59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,22 @@ name: CI on: + push: + branches: + - main + paths: + # Artifacts that must be included in releases, such as LICENSE and NOTICE, are deliberately not excluded so we can verify they will be bundled. + # Include all files and directories, then filter out files and directories that don't impact code, tests, or release artifacts. + - '**' + - '!.github/ISSUE_TEMPLATE/**' + - '!dev/release/**' + - '!website/**' + - '!.asf.yml' + - '!.gitattributes' + - '!.gitignore' + - '!CONTRIBUTING.md' + - '!CHANGELOG.md' + - '!README.md' pull_request: merge_group: diff --git a/.github/workflows/public-api.yml b/.github/workflows/public-api.yml index c99b365b91..9b19358fd0 100644 --- a/.github/workflows/public-api.yml +++ b/.github/workflows/public-api.yml @@ -18,6 +18,11 @@ name: Public API on: + push: + branches: + - main + paths: + - 'crates/**' pull_request: merge_group: