File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-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 Authorization Failure
101
+ runs-on : ubuntu-latest
102
+ needs : [Authorization]
103
+ if : ${{ needs.Authorization.result != 'success' }}
104
+ steps :
105
+ - name : Create Commit Status
106
+ uses : actions/github-script@v6
107
+ with :
108
+ script : |
109
+ github.rest.repos.createCommitStatus({
110
+ owner: context.repo.owner,
111
+ repo: context.repo.repo,
112
+ context: 'blossom-ci',
113
+ sha: '${{ github.event.issue.pull_request.head.sha }}',
114
+ target_url: 'https://github.com/NVIDIA/TensorRT-LLM/actions/runs/${{github.run_id}}',
115
+ state: 'failure',
116
+ description: 'CI testing could not start due to authorization failure',
117
+ })
You can’t perform that action at this time.
0 commit comments