Skip to content

Commit d52e076

Browse files
authored
Update approve-merge.yml (#390)
Adds debugging output to approve-merge to figure out how we refer to 'googlemaps-bot' (should it be 'googlemaps-bot[bot]'?)
1 parent f4ea5a0 commit d52e076

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/approve-merge.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ on:
2424
- main
2525

2626
jobs:
27+
# --- TEMPORARY DEBUG JOB ---
28+
# This job will run unconditionally to dump the PR event context
29+
debug_pr_event:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Dump Pull Request Event Context
33+
run: |
34+
echo "--- Debugging PR Event Context ---"
35+
echo "PR User Login (github.event.pull_request.user.login): ${{ github.event.pull_request.user.login }}"
36+
echo "PR Head Ref (github.event.pull_request.head.ref): ${{ github.event.pull_request.head.ref }}"
37+
echo ""
38+
echo "--- Full Pull Request Event JSON (for more details) ---"
39+
echo "${{ toJson(github.event.pull_request) }}"
40+
echo "--- End Debugging ---"
41+
2742
approve-and-merge:
2843
runs-on: ubuntu-latest
2944
permissions:

0 commit comments

Comments
 (0)