Trigger backend workflow if pom.xml in the repo root is changed
pom.xml
mvnw?
mvnw.cmd?
.github/workflows/backend.yml .github/workflows/e2e-checks.yaml
.github/workflows/backend.yml .github/workflows/e2e-checks.yaml
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 4cebf3557cb..73663a5392b 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -7,6 +7,7 @@ on:
     types: ["opened", "edited", "reopened", "synchronize"]
     paths:
       - "kafka-ui-api/**"
+      - "pom.xml"
 jobs:
   build-and-test:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/e2e-checks.yaml b/.github/workflows/e2e-checks.yaml
index 832b07c85c8..00581514dfb 100644
--- a/.github/workflows/e2e-checks.yaml
+++ b/.github/workflows/e2e-checks.yaml
@@ -7,6 +7,7 @@ on:
       - "kafka-ui-contract/**"
       - "kafka-ui-react-app/**"
       - "kafka-ui-e2e-checks/**"
+      - "pom.xml"
 jobs:
   build-and-test:
     runs-on: ubuntu-latest
