Skip to content

Commit e4e8059

Browse files
authored
chore: add a debugger (#226)
1 parent 3a8622c commit e4e8059

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/gemini-dispatch.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,25 @@ defaults:
2323
shell: 'bash'
2424

2525
jobs:
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
(

0 commit comments

Comments
 (0)