Skip to content

Commit 7fdec0c

Browse files
authored
test:Update approve-merge.yml (#435)
Adds a debug statement to verify the event context, and figure out why approve-merge is being skipped.
1 parent 70f7312 commit 7fdec0c

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
@@ -48,3 +48,18 @@ jobs:
4848
env:
4949
PR_URL: ${{ github.event.pull_request.html_url }}
5050
GH_TOKEN: ${{ secrets.GH_APPROVER_TOKEN }}
51+
52+
# --- TEMPORARY DEBUG JOB ---
53+
# This job will run unconditionally to dump the PR event context
54+
debug_pr_event:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Dump Pull Request Event Context
58+
run: |
59+
echo "--- Debugging PR Event Context ---"
60+
echo "PR User Login (github.event.pull_request.user.login): ${{ github.event.pull_request.user.login }}"
61+
echo "PR Head Ref (github.event.pull_request.head.ref): ${{ github.event.pull_request.head.ref }}"
62+
echo ""
63+
echo "--- Full Pull Request Event JSON (for more details) ---"
64+
echo "${{ toJson(github.event.pull_request) }}"
65+
echo "--- End Debugging ---"

0 commit comments

Comments
 (0)