From 9fd1d8574301903939a4b88e0ac31a2c22844d16 Mon Sep 17 00:00:00 2001 From: Joris Mancini Date: Mon, 9 Sep 2024 09:23:42 +0200 Subject: [PATCH] chore: add broadcast event and triggers on release branch and version tags Signed-off-by: Joris Mancini --- .github/workflows/maven.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 05507c0..7b157ff 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -4,6 +4,9 @@ on: push: branches: - 'main' + - 'release-v**' + tags: + - 'v[0-9]*' pull_request: jobs: @@ -32,3 +35,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + - name: Broadcast update event + if: github.ref == 'refs/heads/main' + uses: gridsuite/broadcast-event@main + with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} + organizations: gridsuite + event-type: ws_commons_updated