1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Debug GitHub context on broken notification

sometimes Slack notification footer becomes just " at ".
It seems like `github.event.head_commit` is missing. Let me debug the
context.
This commit is contained in:
Takashi Kokubun 2019-08-21 23:13:20 +09:00
parent 3df9f3cc13
commit c030cec7ca
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -60,6 +60,11 @@ jobs:
if: matrix.test_task == 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]') if: matrix.test_task == 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]')
- name: Leaked Globals - name: Leaked Globals
run: make -s leaked-globals run: make -s leaked-globals
- name: Debug GitHub context
run: echo "$GITHUB_CONTEXT"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
if: failure() && github.event_name == 'push'
- uses: k0kubun/action-slack@v1.0.0 - uses: k0kubun/action-slack@v1.0.0
with: with:
payload: | payload: |