File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3030 description : Tag defifned for the runner
3131 type : string
3232 required : true
33+ trigger :
34+ description : Type of workflow trigger
35+ type : string
36+ required : true
3337
3438permissions :
3539 contents : read
@@ -63,10 +67,11 @@ jobs:
6367
6468 - uses : xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v2.0.0
6569 id : comment-branch
70+ if : ${{ always() && inputs.trigger != 'schedule' }}
6671
6772 - name : Add comment to PR
6873 uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
69- if : always()
74+ if : ${{ always() && inputs.trigger != 'schedule' }}
7075 with :
7176 script : |
7277 const adapter = '${{ matrix.adapter.name }}';
@@ -180,12 +185,12 @@ jobs:
180185
181186 - name : Add comment to PR
182187 uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
183- if : always()
188+ if : ${{ always() && inputs.trigger != 'schedule' }}
184189 with :
185190 script : |
186191 const adapter = '${{ matrix.adapter.name }}';
187192 const url = '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}';
188- const status = ${{ steps.tests.outcome }};
193+ const status = ' ${{ steps.tests.outcome }}' ;
189194 const body = `E2E ${adapter} build: \n${url}\n Status: ${status}`;
190195
191196 github.rest.issues.createComment({
Original file line number Diff line number Diff line change 2626 prefix : " ext_oneapi_"
2727 config : " --cuda"
2828 unit : " gpu"
29+ trigger : " ${{github.event_name}}"
Original file line number Diff line number Diff line change 2626 prefix : " "
2727 config : " "
2828 unit : " cpu"
29+ trigger : " ${{github.event_name}}"
You can’t perform that action at this time.
0 commit comments