File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed
Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ inputs:
1010 commit_SHA :
1111 description : Kernel commit
1212 required : true
13+ branch :
14+ description : Kernel branch name
15+ required : true
16+ pr_number :
17+ description : PR number
18+ required : true
1319
1420runs :
1521 using : " composite"
@@ -134,9 +140,13 @@ runs:
134140 -e major="$major" \
135141 -e patchlevel="$patchlevel" \
136142 -e extra="$extra" \
143+ -e branch="${{ inputs.branch }}" \
144+ -e pr_number="${{ inputs.pr_number }}" \
137145 ${{ inputs.docker_image }} \
138146 jq '
139- .data.kernel_revision.describe = env.kernel_version
147+ .id = env.commit_SHA
148+ | .name = "kernel-qli"
149+ | .data.kernel_revision.describe = ("PR:"+env.pr_number + ", Branch:" + env.branch + ", Kernel Version:" + env.kernel_version)
140150 | .data.kernel_revision.commit_tags = [env.commit_tag]
141151 | .data.kernel_revision.commit = env.commit_SHA
142152 | .data.kernel_revision.version.version = (env.major | tonumber)
Original file line number Diff line number Diff line change 7373 full_matrix : ${{ needs.loading.outputs.full_matrix }}
7474 kernel_version : ${{ needs.build.outputs.kernel_version }}
7575 commit_SHA : ${{ inputs.sha }}
76+ branch : ${{ inputs.ref }}
77+ pr_number : ${{ inputs.pr }}
7678
7779 comment :
7880 needs : [test]
Original file line number Diff line number Diff line change 3030 type : string
3131 required : true
3232
33+ branch :
34+ description : Kernel branch name
35+ type : string
36+ required : true
37+
38+ pr_number :
39+ description : PR number
40+ type : string
41+ required : true
42+
3343jobs :
3444 test :
3545 runs-on :
8696 docker_image : ${{ inputs.docker_image }}
8797 kernel_version : ${{ inputs.kernel_version }}
8898 commit_SHA : ${{ inputs.commit_SHA }}
99+ branch : ${{ inputs.branch }}
100+ pr_number : ${{ inputs.pr_number }}
89101 env :
90102 FIRMWARE : ${{ matrix.build_matrix.firmware }}
91103 MACHINE : ${{ matrix.build_matrix.machine }}
You can’t perform that action at this time.
0 commit comments