From c2f25eb8e82627036b0c47b7f91c5d6c6ad458d2 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 19 Mar 2024 21:04:36 +0100 Subject: [PATCH] CI: Fix GHA path filters Just saying `requirements.txt` caught all `requirements.txt` files in all subdirectories. This patch anchors them to the repository root folder. --- .github/workflows/application-apache-kafka-flink.yml | 4 ++-- .github/workflows/application-apache-superset.yml | 4 ++-- .github/workflows/dataframe-dask.yml | 4 ++-- .github/workflows/dataframe-pandas.yml | 4 ++-- .github/workflows/lang-java-jooq.yml | 4 ++-- .github/workflows/lang-java-maven.yml | 4 ++-- .github/workflows/lang-npgsql.yml | 4 ++-- .github/workflows/lang-php-amphp.yml | 4 ++-- .github/workflows/lang-php-pdo.yml | 4 ++-- .github/workflows/lang-python-sqlalchemy.yml | 4 ++-- .github/workflows/lang-ruby.yml | 4 ++-- .github/workflows/ml-automl.yml | 4 ++-- .github/workflows/ml-langchain.yml | 4 ++-- .github/workflows/ml-mlflow.yml | 4 ++-- .github/workflows/testing-native-python.yml | 4 ++-- .github/workflows/testing-testcontainers-java.yml | 4 ++-- .github/workflows/testing-testcontainers-python.yml | 4 ++-- .github/workflows/timeseries.yml | 4 ++-- 18 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/application-apache-kafka-flink.yml b/.github/workflows/application-apache-kafka-flink.yml index 0eb70564..af096404 100644 --- a/.github/workflows/application-apache-kafka-flink.yml +++ b/.github/workflows/application-apache-kafka-flink.yml @@ -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: diff --git a/.github/workflows/application-apache-superset.yml b/.github/workflows/application-apache-superset.yml index 7f760aff..eb00742a 100644 --- a/.github/workflows/application-apache-superset.yml +++ b/.github/workflows/application-apache-superset.yml @@ -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: diff --git a/.github/workflows/dataframe-dask.yml b/.github/workflows/dataframe-dask.yml index 64d367f6..8b42d543 100644 --- a/.github/workflows/dataframe-dask.yml +++ b/.github/workflows/dataframe-dask.yml @@ -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: diff --git a/.github/workflows/dataframe-pandas.yml b/.github/workflows/dataframe-pandas.yml index e9b6fbe8..704fbb05 100644 --- a/.github/workflows/dataframe-pandas.yml +++ b/.github/workflows/dataframe-pandas.yml @@ -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: diff --git a/.github/workflows/lang-java-jooq.yml b/.github/workflows/lang-java-jooq.yml index d2c4688f..a88b27c5 100644 --- a/.github/workflows/lang-java-jooq.yml +++ b/.github/workflows/lang-java-jooq.yml @@ -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: diff --git a/.github/workflows/lang-java-maven.yml b/.github/workflows/lang-java-maven.yml index 2e83ee88..4736ffcf 100644 --- a/.github/workflows/lang-java-maven.yml +++ b/.github/workflows/lang-java-maven.yml @@ -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: diff --git a/.github/workflows/lang-npgsql.yml b/.github/workflows/lang-npgsql.yml index 05ac0884..572be0ef 100644 --- a/.github/workflows/lang-npgsql.yml +++ b/.github/workflows/lang-npgsql.yml @@ -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: diff --git a/.github/workflows/lang-php-amphp.yml b/.github/workflows/lang-php-amphp.yml index aa239a15..a6bf530e 100644 --- a/.github/workflows/lang-php-amphp.yml +++ b/.github/workflows/lang-php-amphp.yml @@ -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: diff --git a/.github/workflows/lang-php-pdo.yml b/.github/workflows/lang-php-pdo.yml index a3a8db93..95856254 100644 --- a/.github/workflows/lang-php-pdo.yml +++ b/.github/workflows/lang-php-pdo.yml @@ -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: diff --git a/.github/workflows/lang-python-sqlalchemy.yml b/.github/workflows/lang-python-sqlalchemy.yml index e5d470b2..52738dec 100644 --- a/.github/workflows/lang-python-sqlalchemy.yml +++ b/.github/workflows/lang-python-sqlalchemy.yml @@ -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: diff --git a/.github/workflows/lang-ruby.yml b/.github/workflows/lang-ruby.yml index 376f6902..4529518e 100644 --- a/.github/workflows/lang-ruby.yml +++ b/.github/workflows/lang-ruby.yml @@ -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: diff --git a/.github/workflows/ml-automl.yml b/.github/workflows/ml-automl.yml index 0ffa0366..9f13bf01 100644 --- a/.github/workflows/ml-automl.yml +++ b/.github/workflows/ml-automl.yml @@ -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: diff --git a/.github/workflows/ml-langchain.yml b/.github/workflows/ml-langchain.yml index 46d55b55..052c5471 100644 --- a/.github/workflows/ml-langchain.yml +++ b/.github/workflows/ml-langchain.yml @@ -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: diff --git a/.github/workflows/ml-mlflow.yml b/.github/workflows/ml-mlflow.yml index 3e341336..6a2aa1e5 100644 --- a/.github/workflows/ml-mlflow.yml +++ b/.github/workflows/ml-mlflow.yml @@ -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: diff --git a/.github/workflows/testing-native-python.yml b/.github/workflows/testing-native-python.yml index 0cb95725..65968c7c 100644 --- a/.github/workflows/testing-native-python.yml +++ b/.github/workflows/testing-native-python.yml @@ -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: diff --git a/.github/workflows/testing-testcontainers-java.yml b/.github/workflows/testing-testcontainers-java.yml index da42dd53..e53aeb77 100644 --- a/.github/workflows/testing-testcontainers-java.yml +++ b/.github/workflows/testing-testcontainers-java.yml @@ -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: diff --git a/.github/workflows/testing-testcontainers-python.yml b/.github/workflows/testing-testcontainers-python.yml index d7fcec9e..a61a0414 100644 --- a/.github/workflows/testing-testcontainers-python.yml +++ b/.github/workflows/testing-testcontainers-python.yml @@ -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: diff --git a/.github/workflows/timeseries.yml b/.github/workflows/timeseries.yml index b1bc6e84..dce9a6ab 100644 --- a/.github/workflows/timeseries.yml +++ b/.github/workflows/timeseries.yml @@ -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: