File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ jobs:
32
32
})
33
33
34
34
const botReviews = pullReviews.data
35
- .filter(review => review.user.login === 'github-actions[bot] ')
35
+ .filter(review => review.user.login === 'docubot ')
36
36
.sort((a, b) => new Date(b.submitted_at) - new Date(a.submitted_at))
37
37
.shift()
38
38
39
39
if (botReviews) {
40
- console.log(`Pull request reviews authored by the github-action bot : ${botReviews}`)
40
+ console.log(`Pull request reviews authored by docubot : ${botReviews}`)
41
41
}
42
42
return botReviews
43
43
76
76
if : ${{ steps.filter.outputs.notAllowed == 'true' && (!steps.requested-change.outputs.result || fromJson(steps.requested-change.outputs.result).state != 'CHANGES_REQUESTED') }}
77
77
uses : actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
78
78
with :
79
- github-token : ${{secrets.GITHUB_TOKEN }}
79
+ github-token : ${{secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
80
80
script : |
81
81
const changedFiles = ${{steps.filter.outputs.notAllowed_files}}
82
82
const restFiles = ${{steps.filter.outputs.openapi_files}}
@@ -112,7 +112,7 @@ jobs:
112
112
if : ${{ steps.filter.outputs.notAllowed == 'false' && steps.requested-change.outputs.result && fromJson(steps.requested-change.outputs.result).state == 'CHANGES_REQUESTED' }}
113
113
uses : actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
114
114
with :
115
- github-token : ${{secrets.GITHUB_TOKEN }}
115
+ github-token : ${{secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
116
116
script : |
117
117
await github.pulls.dismissReview({
118
118
...context.repo,
You can’t perform that action at this time.
0 commit comments