File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 2222jobs :
2323 pr-description-check :
2424 runs-on : ubuntu-latest
25+ permissions :
26+ pull-requests : read
27+ statuses : write
28+ contents : read
2529 if : " !contains(github.event.pull_request.title, '[bot]')"
2630 steps :
2731 - name : pr-description-check
2832 uses : NVIDIA/spark-rapids-common/pr-description-check@main
33+ with :
34+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1414
1515name : ' PR Description Check'
1616description : ' check if comment exists in PR description'
17+ inputs :
18+ github-token :
19+ description : " github token"
20+ required : true
21+ type : string
1722
1823runs :
1924 using : " composite"
3742 core.setFailed(description);
3843 }
3944
40- console.log({
41- owner: context.repo.owner,
42- repo: context.repo.repo,
43- sha,
44- state,
45- target_url: pr.html_url,
46- description: description.substring(0, 140),
47- context: 'pr-description-check'
48- });
49-
5045 await github.rest.repos.createCommitStatus({
5146 owner: context.repo.owner,
5247 repo: context.repo.repo,
You can’t perform that action at this time.
0 commit comments