From 6eefbbee0b076d93e89c771b6bc5cad2e22f345e Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 11 Dec 2025 02:58:15 +0200 Subject: [PATCH] debugging workflow --- .github/workflows/pr_test_build_android.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/pr_test_build_android.yml b/.github/workflows/pr_test_build_android.yml index 8edb4afc8..1ca8d225c 100644 --- a/.github/workflows/pr_test_build_android.yml +++ b/.github/workflows/pr_test_build_android.yml @@ -10,6 +10,24 @@ defaults: shell: bash jobs: + debug-context: + runs-on: ubuntu-latest + steps: + - name: "1. Diagnostic Dump" + env: + # This dumps the entire JSON payload so you can see exactly what GitHub sees + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + + - name: "2. Check Condition Logic" + run: | + echo "Event Name: ${{ github.event_name }}" + echo "Repo Full Name: ${{ github.repository }}" + echo "Head Repo: ${{ github.event.pull_request.head.repo.full_name }}" + echo "Is Fork: ${{ github.event.pull_request.head.repo.fork }}" + echo "PR Number: ${{ github.event.number }}" + echo "Head SHA: ${{ github.event.pull_request.head.sha }}" + # -------------------------------- # PATH A: Internal PRs (Triggered by standard 'pull_request') internal-build: if: |