echo github context

This commit is contained in:
Il'ya (Marshal) 2021-04-25 18:12:39 +02:00
parent db87ea8185
commit 973a13d41c

View file

@ -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 }}