mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-11 12:41:37 +01:00
echo github context
This commit is contained in:
parent
db87ea8185
commit
973a13d41c
1 changed files with 5 additions and 1 deletions
6
.github/workflows/make_and_send_alert.yml
vendored
6
.github/workflows/make_and_send_alert.yml
vendored
|
@ -26,8 +26,12 @@ 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.actor == 'GitHub-Action'
|
||||
env:
|
||||
COMMIT_SHA: ${{ github.sha }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue