File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,22 +19,15 @@ runs:
1919 using : " composite"
2020 steps :
2121 - name : Checkout PR code
22- if : ${{ inputs.event_name == 'pull_request_target ' && inputs.pr_ref != '' && inputs.pr_repo != '' }}
22+ if : ${{ inputs.event_name == 'pull_request ' && inputs.pr_ref != '' && inputs.pr_repo != '' }}
2323 uses : actions/checkout@v4
2424 with :
2525 fetch-depth : 0
2626 ref : ${{ inputs.pr_ref }}
2727 repository : ${{ inputs.pr_repo }}
2828
29- - name : Checkout branch/ref for push/workflow_call
30- if : ${{ (inputs.event_name == 'push' || inputs.event_name == 'workflow_call') && inputs.base_ref != '' }}
31- uses : actions/checkout@v4
32- with :
33- fetch-depth : 0
34- ref : ${{ inputs.base_ref }}
35-
36- - name : Checkout workflow_dispatch ref
37- if : ${{ inputs.event_name == 'workflow_dispatch' && inputs.base_ref != '' }}
29+ - name : Checkout branch/ref for push, workflow_call, workflow_dispatch
30+ if : ${{ (inputs.event_name == 'push' || inputs.event_name == 'workflow_call' || inputs.event_name == 'workflow_dispatch') && inputs.base_ref != '' }}
3831 uses : actions/checkout@v4
3932 with :
4033 fetch-depth : 0
Original file line number Diff line number Diff line change 1+ name : _loading
2+ description : Load required parameters for the subsequent jobs
3+
4+ on :
5+ workflow_call :
6+ outputs :
7+ build_matrix :
8+ description : Build matrix
9+ value : ${{ jobs.loading.outputs.build_matrix }}
10+
111jobs :
212 loading :
313 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments