mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-15 13:22:43 +01:00
fix if condition in workflow
This commit is contained in:
parent
294826fcda
commit
f98f2c090b
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
|
@ -24,12 +24,8 @@ jobs:
|
|||
run: |
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Inspect contexts.
|
||||
run: |
|
||||
echo "${{ toJson(github) }}"
|
||||
|
||||
- name: Send alert to Telegram channel.
|
||||
if: github.actor == 'GitHub-Action'
|
||||
if: github.event.head_commit.author == 'GitHub Action'
|
||||
env:
|
||||
COMMIT_SHA: ${{ github.sha }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
|
Loading…
Add table
Reference in a new issue