From d253bbb88dd32e07928d7aee8ae8c1c1e93dea75 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 1 Jul 2021 12:41:48 +0200 Subject: [PATCH] Notify PHP 8.1 monitoring failures to the Telegram channel --- .github/workflows/monitor-php8.1.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/monitor-php8.1.yml b/.github/workflows/monitor-php8.1.yml index 35808e8..53134af 100644 --- a/.github/workflows/monitor-php8.1.yml +++ b/.github/workflows/monitor-php8.1.yml @@ -26,3 +26,10 @@ jobs: uses: actions/checkout@v1 - name: Test extensions run: ./scripts/ci-test-extensions all + - name: Notify failures + if: failure() + uses: appleboy/telegram-action@master + with: + token: ${{ secrets.TELEGRAM_TOKEN }} + to: ${{ secrets.TELEGRAM_TO }} + message: Testing packages against PHP 8.1 failed on https://github.com/mlocati/docker-php-extension-installer