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