From 7f103ba067a9598604deaa35092c83168d0f463b Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Mon, 27 Jul 2026 12:08:49 +0200 Subject: [PATCH] Add Slack failure alerts to operational workflows. Post error-only notifications to docs-alerts and mention docs-engineers when unattended production or release workflows fail. Co-authored-by: Cursor --- .github/workflows/create-major-tag.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/create-major-tag.yml b/.github/workflows/create-major-tag.yml index 4006597..90e4de6 100644 --- a/.github/workflows/create-major-tag.yml +++ b/.github/workflows/create-major-tag.yml @@ -39,3 +39,17 @@ jobs: git tag "v${MAJOR_VERSION}" git push -f origin "refs/tags/v${MAJOR_VERSION}" git remote set-url origin "https://github.com/${GITHUB_REPOSITORY}.git" + + notify-failure: + needs: [create-major-tag] + if: always() && needs.create-major-tag.result == 'failure' + runs-on: ubuntu-slim + permissions: + id-token: write + steps: + - uses: elastic/docs-actions/slack/notify-status@v1 + with: + channel: docs-alerts + status: failure + mention: S028C66K5EX + description: Failed to create or update the floating major tag after release publish.