Skip to content

Commit c5cb9d5

Browse files
authored
ci: Fix triggering CI (#1693)
1 parent bd9aa63 commit c5cb9d5

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.github/workflows/bindings_python_ci.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,25 @@ on:
2323
- main
2424
pull_request:
2525
paths:
26-
- ".github/workflows/bindings_python_ci.yml"
27-
- "bindings/python/**"
28-
- "crates/iceberg/**"
29-
- "crates/integrations/datafusion/**"
26+
- '**' # Include all files and directories in the repository by default.
27+
- '!.github/workflows/**' # Exclude all workflow files
28+
- '.github/workflows/bindings_python_ci.yml' # except the current file.
29+
- '!.github/actions/**' # Exclude custom actions
30+
- 'bindings/python/**' # Include source codes and its dependencies
31+
- '!crates/**'
32+
- 'crates/iceberg/**'
33+
- 'crates/integrations/datafusion/**'
34+
- '!.github/ISSUE_TEMPLATE/**' # Exclude files and directories that don't impact tests or code like templates, metadata, and documentation.
35+
- '!scripts/**'
36+
- '!website/**'
37+
- '!.asf.yml'
38+
- '!.gitattributes'
39+
- '!.gitignore'
40+
- '!CONTRIBUTING.md'
41+
- '!CHANGELOG.md'
42+
- '!LICENSE'
43+
- '!NOTICE'
44+
- '!README.md'
3045

3146
concurrency:
3247
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
branches:
2323
- main
2424
pull_request:
25-
branches:
25+
paths:
2626
- '**' # Include all files and directories in the repository by default.
2727
- '!.github/workflows/**' # Exclude all workflow files
2828
- '.github/workflows/ci.yml' # except the current file.

0 commit comments

Comments
 (0)