Check GitHub context for push events
This commit is contained in:
parent
3e1dae8d2a
commit
69c1e4c422
5
.github/workflows/check_misc.yml
vendored
5
.github/workflows/check_misc.yml
vendored
@ -28,6 +28,11 @@ jobs:
|
||||
# Skip overwriting MATZBOT_GITHUB_TOKEN
|
||||
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
||||
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
|
||||
# Run this step first to make sure auto-style commits are pushed
|
||||
- name: ${{ (github.repository == 'ruby/ruby' && github.ref == 'refs/heads/master') && 'Auto-correct' || 'Check for' }} code styles
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user