chore: Make analyzer replace comments (#9573)

Currently the Analyzer append the new error rather then replacing old
content.
This commit is contained in:
Nikolay Vitkov 2023-01-24 19:11:33 +01:00 committed by GitHub
parent 344bc2af62
commit bc62b15967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,7 @@ jobs:
with: with:
comment-id: ${{ steps.find-comment-id.outputs.comment-id }} comment-id: ${{ steps.find-comment-id.outputs.comment-id }}
issue-number: ${{ github.event.issue.number }} issue-number: ${{ github.event.issue.number }}
edit-mode: replace
body: ${{ needs.analyze-issue.outputs.errorMessage }} body: ${{ needs.analyze-issue.outputs.errorMessage }}
label-unverifiable-issue: label-unverifiable-issue:
@ -182,6 +183,7 @@ jobs:
with: with:
comment-id: ${{ steps.find-comment-id.outputs.comment-id }} comment-id: ${{ steps.find-comment-id.outputs.comment-id }}
issue-number: ${{ github.event.issue.number }} issue-number: ${{ github.event.issue.number }}
edit-mode: replace
body: | body: |
This issue was not reproducible. Please check that your example runs locally and the following: This issue was not reproducible. Please check that your example runs locally and the following: