chore: add notifications
[skip ci]
This commit is contained in:
parent
0b5e15d1c5
commit
413dbd6f50
2 changed files with 26 additions and 0 deletions
17
.github/workflows/ci_new.yaml
vendored
17
.github/workflows/ci_new.yaml
vendored
|
|
@ -33,6 +33,23 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
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
|
- name: Notify
|
||||||
uses: ./.github/actions/notify
|
uses: ./.github/actions/notify
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
9
.github/workflows/clean_up.yaml
vendored
9
.github/workflows/clean_up.yaml
vendored
|
|
@ -34,6 +34,15 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
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<br />with filter prefix: ${{ inputs.res_prefix }}"
|
||||||
|
|
||||||
- name: Notify
|
- name: Notify
|
||||||
uses: ./.github/actions/notify
|
uses: ./.github/actions/notify
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue