Code Analyzer: Fix highlighter comment (#34624)
Fix highlighter comment
This commit is contained in:
parent
614d98ff60
commit
1314ad4ca3
|
@ -37,7 +37,7 @@ jobs:
|
|||
if: ${{ needs.analyze.outputs.results && (steps.find-comment.outputs.comment-id == '') }}
|
||||
uses: actions/github-script@v5
|
||||
with:
|
||||
github-token: ${{ secrets.WC_BOT_TRIAGE_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
if: ${{ needs.analyze.outputs.results && steps.find-comment.outputs.comment-id }}
|
||||
uses: actions/github-script@v5
|
||||
with:
|
||||
github-token: ${{ secrets.WC_BOT_TRIAGE_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
github.rest.issues.updateComment({
|
||||
comment_id: ${{ steps.find-comment.outputs.comment-id }},
|
||||
|
@ -61,7 +61,7 @@ jobs:
|
|||
if: ${{ !needs.analyze.outputs.results && steps.find-comment.outputs.comment-id }}
|
||||
uses: actions/github-script@v5
|
||||
with:
|
||||
github-token: ${{ secrets.WC_BOT_TRIAGE_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
github.rest.issues.deleteComment({
|
||||
comment_id: ${{ steps.find-comment.outputs.comment-id }},
|
||||
|
@ -72,7 +72,7 @@ jobs:
|
|||
if: ${{ needs.analyze.outputs.results }}
|
||||
uses: actions/github-script@v5
|
||||
with:
|
||||
github-token: ${{ secrets.WC_BOT_TRIAGE_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
github.rest.issues.addLabels({
|
||||
issue_number: context.issue.number,
|
||||
|
@ -85,7 +85,7 @@ jobs:
|
|||
continue-on-error: true
|
||||
uses: actions/github-script@v5
|
||||
with:
|
||||
github-token: ${{ secrets.WC_BOT_TRIAGE_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
github.rest.issues.removeLabel({
|
||||
issue_number: context.issue.number,
|
||||
|
|
Loading…
Reference in New Issue