File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1717 uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_matrix.yml@dev
1818 secrets : inherit
1919 with :
20+ checkout_ref : ${{ github.event.pull_request.head.ref }}
2021 repository : " ${{ github.repository_owner }}/refinery-submodule-parent-images"
2122
2223 pi-build :
Original file line number Diff line number Diff line change 88 required : false
99 type : string
1010 default : ${{ github.repository }}
11+ checkout_ref :
12+ description : ' Repository ref for actions/checkout'
13+ required : false
14+ type : string
15+ default : ${{ github.event.repository.default_branch }}
1116 parent_image_type :
1217 description : ' If specified, "include" only outputs apps associated to this parent image type'
1318 required : false
2126 description : ' List[Dict] of apps associated to parent image types'
2227 value : ${{ jobs.pi-matrix.outputs.include }}
2328
29+ env :
30+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
31+
2432jobs :
2533 pi-matrix :
2634 name : ' Parent Images: Generate Matrix'
3644 uses : actions/checkout@v4
3745 with :
3846 repository : ${{ inputs.repository }}
39- ref : ${{ github.event.pull_request.head.ref || github.event.repository.default_branch }}
47+ ref : ${{ inputs.checkout_ref }}
4048
4149 - name : Clone cicd-deployment-scripts
4250 run : git clone https://oauth2:${{ secrets.GH_TOKEN }}@github.com/code-kern-ai/cicd-deployment-scripts.git
Original file line number Diff line number Diff line change 1717 uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_matrix.yml@dev
1818 secrets : inherit
1919 with :
20+ checkout_ref : ${{ github.event.pull_request.base.ref }}
2021 repository : " ${{ github.repository_owner }}/refinery-submodule-parent-images"
2122
2223 pi-update-submodule :
You can’t perform that action at this time.
0 commit comments