From 50552087c17e57c06a8fbf607eb36b4a5b5d9831 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 30 Apr 2024 23:06:39 +0000 Subject: [PATCH] Adjusted maven publish workflow to execute automatically when merging a PR. (#1531) Signed-off-by: AWSHurneyt (cherry picked from commit 7ee7915704ccf9ed2cb231e6fb63f86b121eae43) Signed-off-by: github-actions[bot] --- .github/workflows/maven-publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 6d8793c10..31e21d66b 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -3,11 +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: