diff --git a/.gitea/workflows/node-ci.yaml b/.gitea/workflows/node-ci.yaml index 696ae20..5df486f 100644 --- a/.gitea/workflows/node-ci.yaml +++ b/.gitea/workflows/node-ci.yaml @@ -30,4 +30,15 @@ jobs: run: npm run lint - name: Run tests - run: npm test \ No newline at end of file + run: npm test + + alert_on_failure: + needs: test + runs-on: ubuntu-24.04 + #if: ${{ needs.test.result == 'failure' }} + steps: + - 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@3b3519e5102dba8aa5046fd711c4b553586409bb # v1.1.0 + with: + webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}' \ No newline at end of file