mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-27 02:08:53 +01:00
fix if condition in workflow
This commit is contained in:
parent
0f5ca80154
commit
1ab9fd9dea
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
|
@ -26,12 +26,8 @@ jobs:
|
|||
git checkout main
|
||||
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