From e904ca0da6b50c44feab81b3afb2af69cbd1a15f Mon Sep 17 00:00:00 2001 From: "Il'ya (Marshal)" Date: Sun, 25 Apr 2021 18:41:37 +0200 Subject: [PATCH] fix if condition in workflow 2.0 --- .github/workflows/make_and_send_alert.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/make_and_send_alert.yml b/.github/workflows/make_and_send_alert.yml index 838c492717..8cf1eceac6 100644 --- a/.github/workflows/make_and_send_alert.yml +++ b/.github/workflows/make_and_send_alert.yml @@ -25,7 +25,7 @@ jobs: pip install -r requirements.txt - name: Send alert to Telegram channel. - if: github.event.head_commit.author == 'GitHub Action' + if: ${{ github.event.head_commit.author == 'GitHub Action' }} env: COMMIT_SHA: ${{ github.sha }} TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}