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
|
# Skip overwriting MATZBOT_GITHUB_TOKEN
|
||||||
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
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
|
# 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
|
- name: ${{ (github.repository == 'ruby/ruby' && github.ref == 'refs/heads/master') && 'Auto-correct' || 'Check for' }} code styles
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user