File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,24 @@ defaults:
1010 shell : bash
1111
1212jobs :
13+ debug-context :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : " 1. Diagnostic Dump"
17+ env :
18+ # This dumps the entire JSON payload so you can see exactly what GitHub sees
19+ GITHUB_CONTEXT : ${{ toJson(github) }}
20+ run : echo "$GITHUB_CONTEXT"
21+
22+ - name : " 2. Check Condition Logic"
23+ run : |
24+ echo "Event Name: ${{ github.event_name }}"
25+ echo "Repo Full Name: ${{ github.repository }}"
26+ echo "Head Repo: ${{ github.event.pull_request.head.repo.full_name }}"
27+ echo "Is Fork: ${{ github.event.pull_request.head.repo.fork }}"
28+ echo "PR Number: ${{ github.event.number }}"
29+ echo "Head SHA: ${{ github.event.pull_request.head.sha }}"
30+ # --------------------------------
1331 # PATH A: Internal PRs (Triggered by standard 'pull_request')
1432 internal-build :
1533 if : |
You can’t perform that action at this time.
0 commit comments