File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Cake Wallet Android
22
33on :
4- push :
54 pull_request :
6- pull_request_target :
75
86jobs :
97
10- debug-context :
11- runs-on : [Linux, amd64, forlinux]
12- defaults :
13- run :
14- shell : bash
15- steps :
16- - name : " 1. Diagnostic Dump"
17- env :
18- GITHUB_CONTEXT : ${{ toJson(github) }}
19- run : echo "$GITHUB_CONTEXT"
20-
21- - name : " 2. Check Condition Logic"
22- run : |
23- echo "Event Name: ${{ github.event_name }}"
24- echo "Repo Full Name: ${{ github.repository }}"
25- echo "Head Repo: ${{ github.event.pull_request.head.repo.full_name }}"
26- echo "Is Fork: ${{ github.event.pull_request.head.repo.fork }}"
27- echo "PR Number: ${{ github.event.number }}"
28- echo "Head SHA: ${{ github.event.pull_request.head.sha }}"
29-
308 # -----------------------------------------
319 # PATH A: Internal PRs
3210 internal-build :
3917 pr_number : ${{ github.head_ref || github.ref_name }}
4018 secrets : inherit
4119
42-
20+ # # -----------------------------------------
21+ # # PATH B: External Fork PRs
22+ # external-build:
23+ # if: >
24+ # github.event_name == 'pull_request_target' &&
25+ # github.event.pull_request.head.repo.fork == true
26+ # environment: external_contributors
27+ # uses: ./.github/workflows/reusable-build.yml
28+ # with:
29+ # ref: ${{ github.event.pull_request.head.sha }}
30+ # pr_number: ${{ github.head_ref || github.ref_name }}
31+ # secrets: inherit
You can’t perform that action at this time.
0 commit comments