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:
parent
3df9f3cc13
commit
c030cec7ca
1 changed files with 5 additions and 0 deletions
5
.github/workflows/ubuntu.yml
vendored
5
.github/workflows/ubuntu.yml
vendored
|
@ -60,6 +60,11 @@ jobs:
|
|||
if: matrix.test_task == 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]')
|
||||
- name: 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
|
||||
with:
|
||||
payload: |
|
||||
|
|
Loading…
Add table
Reference in a new issue