mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-11 12:41:37 +01:00
fix if condition in workflow 3.0 or mb 4.0
This commit is contained in:
parent
7c2c3d2520
commit
fab866946c
1 changed files with 1 additions and 5 deletions
6
.github/workflows/make_and_send_alert.yml
vendored
6
.github/workflows/make_and_send_alert.yml
vendored
|
@ -20,12 +20,8 @@ jobs:
|
|||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Output head commit author
|
||||
run: |
|
||||
echo "${{ github.event.head_commit.author }}"
|
||||
|
||||
- name: Install dependencies and send alert to Telegram channel.
|
||||
if: ${{ github.event.head_commit.author == 'GitHub Action' }}
|
||||
if: ${{ github.event.head_commit.author.name == 'GitHub Action' }}
|
||||
env:
|
||||
COMMIT_SHA: ${{ github.sha }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue