From dc54dcbf967a81a0ccad31777087e0df3c353e12 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Thu, 15 Jun 2023 11:16:54 -0700 Subject: [PATCH] Modify triggers to push snapshots on all branches (#454) Signed-off-by: Sayali Gaikawad (cherry picked from commit 1484bff81af8496c93e5f3e9634cb93c1f948750) Signed-off-by: Hailong Cui --- .github/workflows/maven-publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 944c248c..be57f77d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -3,12 +3,10 @@ name: Publish snapshots to maven on: workflow_dispatch: push: - branches: [ - main - 1.* - 2.* - ] - + branches: + - main + - '[0-9]+.[0-9]+' + - '[0-9]+.x' jobs: build-and-publish-snapshots: strategy: