File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 95
95
OPERATION : ' POST-PROCESSING'
96
96
CI_SERVER : ${{ secrets.CI_SERVER }}
97
97
REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
98
+
99
+ Report-Status :
100
+ name : Report Status
101
+ runs-on : ubuntu-latest
102
+ if : ${{ always() }}
103
+ needs : [Authorization]
104
+ steps :
105
+ - name : Publish failure status
106
+ uses : actions/github-script@v6
107
+ if : ${{ needs.Authorization.status != 'success' }}
108
+ with :
109
+ script : |
110
+ github.rest.repos.createCommitStatus({
111
+ owner: context.repo.owner,
112
+ repo: context.repo.repo,
113
+ context: 'blossom-ci',
114
+ sha: '${{ github.event.issue.pull_request.head.sha }}',
115
+ target_url: 'https://github.com/NVIDIA/TensorRT-LLM/actions/runs/${{github.run_id}}',
116
+ state: 'failure',
117
+ description: 'CI testing could not start due to authorization failure',
118
+ })
You can’t perform that action at this time.
0 commit comments