Skip to content

Commit

Permalink
remove-long-timeout-labels: add debug output
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
carlocab committed Apr 20, 2023
1 parent 4b22f0d commit 3c2a740
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/remove-long-timeout-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ jobs:
permissions:
pull-requests: write # for `gh pr edit`
steps:
- name: Dump event JSON
run: |
echo '```' >> "$GITHUB_STEP_SUMMARY"
jq . "$GITHUB_EVENT_PATH" | tee -a "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
jq .workflow_run "$GITHUB_EVENT_PATH" | tee -a "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
jq .workflow_run.pull_requests "$GITHUB_EVENT_PATH" | tee -a "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
- name: Remove `CI-long-timeout` label
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3c2a740

Please sign in to comment.