Skip to content

Commit

Permalink
CI: Fix GHA path filters
Browse files Browse the repository at this point in the history
Just saying `requirements.txt` caught all `requirements.txt` files in
all subdirectories. This patch anchors them to the repository root
folder.
  • Loading branch information
amotl committed Mar 19, 2024
1 parent 6110852 commit 06f8017
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/application-apache-kafka-flink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/application-apache-kafka-flink.yml'
- 'application/apache-kafka-flink/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/application-apache-kafka-flink.yml'
- 'application/apache-kafka-flink/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/application-apache-superset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/application-apache-superset.yml'
- 'application/apache-superset/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/application-apache-superset.yml'
- 'application/apache-superset/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dataframe-dask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/dataframe-dask.yml'
- 'by-dataframe/dask/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/dataframe-dask.yml'
- 'by-dataframe/dask/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dataframe-pandas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/dataframe-pandas.yml'
- 'by-dataframe/pandas/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/dataframe-pandas.yml'
- 'by-dataframe/pandas/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-java-jooq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/lang-java-jooq.yml'
- 'by-language/java-jooq/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-java-jooq.yml'
- 'by-language/java-jooq/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-java-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:
- '.github/workflows/lang-java-maven.yml'
- 'by-language/java-jdbc/**'
- 'by-language/java-qa/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-java-maven.yml'
- 'by-language/java-jdbc/**'
- 'by-language/java-qa/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-npgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/lang-npgsql.yml'
- 'by-language/csharp-npgsql/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-npgsql.yml'
- 'by-language/csharp-npgsql/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-php-amphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/lang-php-amphp.yml'
- 'by-language/php-amphp/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-php-amphp.yml'
- 'by-language/php-amphp/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-php-pdo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/lang-php-pdo.yml'
- 'by-language/php-pdo/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-php-pdo.yml'
- 'by-language/php-pdo/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-python-sqlalchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/lang-python-sqlalchemy.yml'
- 'by-language/python-sqlalchemy/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-python-sqlalchemy.yml'
- 'by-language/python-sqlalchemy/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/lang-ruby.yml'
- 'by-language/ruby/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/lang-ruby.yml'
- 'by-language/ruby/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ml-automl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/ml-automl.yml'
- 'topic/machine-learning/automl/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/ml-automl.yml'
- 'topic/machine-learning/automl/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ml-langchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/ml-langchain.yml'
- 'topic/machine-learning/llm-langchain/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/ml-langchain.yml'
- 'topic/machine-learning/llm-langchain/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ml-mlflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/ml-mlflow.yml'
- 'topic/machine-learning/mlops-mlflow/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/ml-mlflow.yml'
- 'topic/machine-learning/mlops-mlflow/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing-native-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/testing-native-python.yml'
- 'testing/native/python**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/testing-native-python.yml'
- 'testing/native/python**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing-testcontainers-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/testing-testcontainers-java.yml'
- 'testing/testcontainers/java/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/testing-testcontainers-java.yml'
- 'testing/testcontainers/java/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing-testcontainers-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/testing-testcontainers-python.yml'
- 'testing/testcontainers/python**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/testing-testcontainers-python.yml'
- 'testing/testcontainers/python**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/timeseries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
paths:
- '.github/workflows/timeseries.yml'
- 'topic/timeseries/**'
- 'requirements.txt'
- '/requirements.txt'
push:
branches: [ main ]
paths:
- '.github/workflows/timeseries.yml'
- 'topic/timeseries/**'
- 'requirements.txt'
- '/requirements.txt'

# Allow job to be triggered manually.
workflow_dispatch:
Expand Down

0 comments on commit 06f8017

Please sign in to comment.