From 413dbd6f506724b28470629c90d3082dfaf26d7f Mon Sep 17 00:00:00 2001 From: "Marcel S. Henselin" Date: Wed, 25 Mar 2026 13:52:47 +0100 Subject: [PATCH] chore: add notifications [skip ci] --- .github/workflows/ci_new.yaml | 17 +++++++++++++++++ .github/workflows/clean_up.yaml | 9 +++++++++ 2 files changed, 26 insertions(+) diff --git a/.github/workflows/ci_new.yaml b/.github/workflows/ci_new.yaml index d79f806a..8679e134 100644 --- a/.github/workflows/ci_new.yaml +++ b/.github/workflows/ci_new.yaml @@ -33,6 +33,23 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Notify Google Chat + if: ${{ always() }} # Use always to ensure that the notification is also send on failure of former steps + uses: SimonScholz/google-chat-action@main + with: + webhookUrl: '${{ secrets.GOOGLE_WEBHOOK_URL }}' + jobStatus: '${{ job.status }}' + title: CI pipeline + subtitle: "on: ${{ github.event_name }}" + #imageUrl: https://raw.githubusercontent.com/SimonScholz/simonscholz.github.io/gatsby-homepage/src/assets/img/avatar.webp + #imageType: SQUARE + #imageAltText: Alternative image text + #createDefaultSection: false + #collapsibleDefaultSection: false + #uncollapsibleWidgetsCount: 3 + #additionalSections: '[{"header": "Additional Section", "collapsible": true, "widgets": [{"decoratedText": {"startIcon": {"knownIcon": "STAR"},"text": "Additional Section"}}] }]' + #threadKey: ${{ github.event.number }} + - name: Notify uses: ./.github/actions/notify with: diff --git a/.github/workflows/clean_up.yaml b/.github/workflows/clean_up.yaml index 318c5054..369e973e 100644 --- a/.github/workflows/clean_up.yaml +++ b/.github/workflows/clean_up.yaml @@ -34,6 +34,15 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Notify Google Chat + if: ${{ always() }} # Use always to ensure that the notification is also send on failure of former steps + uses: SimonScholz/google-chat-action@main + with: + webhookUrl: '${{ secrets.GOOGLE_WEBHOOK_URL }}' + jobStatus: '${{ job.status }}' + title: CI pipeline + subtitle: "on: ${{ github.event_name }} \n
with filter prefix: ${{ inputs.res_prefix }}" + - name: Notify uses: ./.github/actions/notify with: