From 6a3c944a0be900f5d42c4b8aa380f43c2ec3ec28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Fri, 2 May 2025 15:44:30 +0200 Subject: [PATCH] Send a notification when release staging has failed Closes gh-45277 --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f233106f8d..c26a30d49f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,13 @@ jobs: signing-passphrase: ${{ secrets.GPG_PASSPHRASE }} uri: ${{ vars.COMMERCIAL_DEPLOY_REPO_URL || 'https://repo.spring.io' }} username: ${{ vars.COMMERCIAL && secrets.COMMERCIAL_ARTIFACTORY_USERNAME || secrets.ARTIFACTORY_USERNAME }} + - name: Send Notification + if: failure() + uses: ./.github/actions/send-notification + with: + run-name: ${{ format('{0} | Release Staging | {1}', github.ref_name, inputs.version) }} + status: ${{ job.status }} + webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }} outputs: version: ${{ steps.build-and-publish.outputs.version }} verify: