mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-22 15:26:43 +01:00
fix if condition in workflow 2.0
This commit is contained in:
parent
f98f2c090b
commit
e904ca0da6
1 changed files with 1 additions and 1 deletions
2
.github/workflows/make_and_send_alert.yml
vendored
2
.github/workflows/make_and_send_alert.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue