From fd816bdef773b7ea9444df1ffd9d2fb35d22a773 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Wed, 2 Oct 2024 09:25:15 +0200 Subject: [PATCH] update gh action trigger condition (#1019) * update trigger condition (trying to find out why outside prs don't trigger) Signed-off-by: Gregor Zeitlinger * exclude archive from dependabot Signed-off-by: Gregor Zeitlinger --------- Signed-off-by: Gregor Zeitlinger --- .github/dependabot.yml | 22 ++++++++++++++++++- .github/workflows/build.yml | 6 ++++- .../integration_tests/it_pushgateway/pom.xml | 2 +- .../pom.xml | 2 +- .../simpleclient_logback/pom.xml | 2 +- .../simpleclient_vertx4/pom.xml | 2 +- 6 files changed, 30 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b3a1dddd8..5c739e0bb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,26 @@ updates: schedule: interval: weekly - package-ecosystem: maven - directory: "/" + directories: + - prometheus-metrics-bom + - prometheus-metrics-core + - prometheus-metrics-config + - prometheus-metrics-model + - prometheus-metrics-tracer + - prometheus-metrics-exposition-formats + - prometheus-metrics-exporter-common + - prometheus-metrics-exporter-servlet-jakarta + - prometheus-metrics-exporter-servlet-javax + - prometheus-metrics-exporter-httpserver + - prometheus-metrics-exporter-opentelemetry + - prometheus-metrics-exporter-pushgateway + - prometheus-metrics-instrumentation-caffeine + - prometheus-metrics-instrumentation-jvm + - prometheus-metrics-instrumentation-dropwizard5 + - prometheus-metrics-instrumentation-guava + - prometheus-metrics-simpleclient-bridge + - examples + - benchmarks + - integration-tests schedule: interval: daily diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 835d4dcde..3592f25ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: Build -on: [push] +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: build: diff --git a/simpleclient-archive/integration_tests/it_pushgateway/pom.xml b/simpleclient-archive/integration_tests/it_pushgateway/pom.xml index 5fd8c8a5a..2eba31efa 100644 --- a/simpleclient-archive/integration_tests/it_pushgateway/pom.xml +++ b/simpleclient-archive/integration_tests/it_pushgateway/pom.xml @@ -36,7 +36,7 @@ ch.qos.logback logback-classic - 1.2.13 + 1.2.11 test diff --git a/simpleclient-archive/integration_tests/it_servlet_jakarta_exporter_webxml/pom.xml b/simpleclient-archive/integration_tests/it_servlet_jakarta_exporter_webxml/pom.xml index 061733553..71e8c536a 100644 --- a/simpleclient-archive/integration_tests/it_servlet_jakarta_exporter_webxml/pom.xml +++ b/simpleclient-archive/integration_tests/it_servlet_jakarta_exporter_webxml/pom.xml @@ -45,7 +45,7 @@ ch.qos.logback logback-classic - 1.2.13 + 1.2.11 jakarta.servlet diff --git a/simpleclient-archive/simpleclient_logback/pom.xml b/simpleclient-archive/simpleclient_logback/pom.xml index a92b408b4..96f4fb34d 100644 --- a/simpleclient-archive/simpleclient_logback/pom.xml +++ b/simpleclient-archive/simpleclient_logback/pom.xml @@ -41,7 +41,7 @@ ch.qos.logback logback-classic - 1.2.13 + 1.2.11 diff --git a/simpleclient-archive/simpleclient_vertx4/pom.xml b/simpleclient-archive/simpleclient_vertx4/pom.xml index d3785bbf0..5e365bd2a 100644 --- a/simpleclient-archive/simpleclient_vertx4/pom.xml +++ b/simpleclient-archive/simpleclient_vertx4/pom.xml @@ -50,7 +50,7 @@ io.vertx vertx-web - 4.3.8 + 4.3.1 provided