fix if condition in workflow 2.0

This commit is contained in:
Il'ya (Marshal) 2021-04-25 18:41:12 +02:00
parent 8f90abd69b
commit b41ca787c7

View file

@ -27,7 +27,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 }}