File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 17
17
uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_matrix.yml@dev
18
18
secrets : inherit
19
19
with :
20
+ checkout_ref : ${{ github.event.pull_request.head.ref }}
20
21
repository : " ${{ github.repository_owner }}/refinery-submodule-parent-images"
21
22
22
23
pi-build :
Original file line number Diff line number Diff line change 8
8
required : false
9
9
type : string
10
10
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 }}
11
16
parent_image_type :
12
17
description : ' If specified, "include" only outputs apps associated to this parent image type'
13
18
required : false
21
26
description : ' List[Dict] of apps associated to parent image types'
22
27
value : ${{ jobs.pi-matrix.outputs.include }}
23
28
29
+ env :
30
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
31
+
24
32
jobs :
25
33
pi-matrix :
26
34
name : ' Parent Images: Generate Matrix'
36
44
uses : actions/checkout@v4
37
45
with :
38
46
repository : ${{ inputs.repository }}
39
- ref : ${{ github.event.pull_request.head.ref || github.event.repository.default_branch }}
47
+ ref : ${{ inputs.checkout_ref }}
40
48
41
49
- name : Clone cicd-deployment-scripts
42
50
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 17
17
uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_matrix.yml@dev
18
18
secrets : inherit
19
19
with :
20
+ checkout_ref : ${{ github.event.pull_request.base.ref }}
20
21
repository : " ${{ github.repository_owner }}/refinery-submodule-parent-images"
21
22
22
23
pi-update-submodule :
You can’t perform that action at this time.
0 commit comments