File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,25 @@ defaults:
2323 shell : ' bash'
2424
2525jobs :
26+ debugger :
27+ if : |-
28+ ${{ fromJSON(vars.DEBUG || vars.ACTIONS_STEP_DEBUG || false) }}
29+ runs-on : ' ubuntu-latest'
30+ permissions :
31+ contents : ' read'
32+ steps :
33+ - name : ' Print context for debugging'
34+ env :
35+ DEBUG_event_name : ' ${{ github.event_name }}'
36+ DEBUG_event__action : ' ${{ github.event.action }}'
37+ DEBUG_event__comment__author_association : ' ${{ github.event.comment.author_association }}'
38+ DEBUG_event__issue__author_association : ' ${{ github.event.issue.author_association }}'
39+ DEBUG_event__pull_request__author_association : ' ${{ github.event.pull_request.author_association }}'
40+ DEBUG_event__review__author_association : ' ${{ github.event.review.author_association }}'
41+ DEBUG_event : ' ${{ toJSON(github.event) }}'
42+ run : |-
43+ env | grep '^DEBUG_'
44+
2645 dispatch :
2746 if : |-
2847 (
You can’t perform that action at this time.
0 commit comments