Skip to content

Commit 3c2a740

Browse files
committed
remove-long-timeout-labels: add debug output
This isn't working as expected, despite a nearly identical workflow working properly in a separate repository. Let's add some debug output here so I can try to work out what's happening.
1 parent 4b22f0d commit 3c2a740

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/remove-long-timeout-labels.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ jobs:
2121
permissions:
2222
pull-requests: write # for `gh pr edit`
2323
steps:
24+
- name: Dump event JSON
25+
run: |
26+
echo '```' >> "$GITHUB_STEP_SUMMARY"
27+
jq . "$GITHUB_EVENT_PATH" | tee -a "$GITHUB_STEP_SUMMARY"
28+
echo '```' >> "$GITHUB_STEP_SUMMARY"
29+
30+
echo '```' >> "$GITHUB_STEP_SUMMARY"
31+
jq .workflow_run "$GITHUB_EVENT_PATH" | tee -a "$GITHUB_STEP_SUMMARY"
32+
echo '```' >> "$GITHUB_STEP_SUMMARY"
33+
34+
echo '```' >> "$GITHUB_STEP_SUMMARY"
35+
jq .workflow_run.pull_requests "$GITHUB_EVENT_PATH" | tee -a "$GITHUB_STEP_SUMMARY"
36+
echo '```' >> "$GITHUB_STEP_SUMMARY"
37+
2438
- name: Remove `CI-long-timeout` label
2539
env:
2640
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)