map-diff: replace previous comment
This commit is contained in:
parent
403112457a
commit
77d5c6cf47
1 changed files with 7 additions and 0 deletions
7
.github/workflows/map-diff.yml
vendored
7
.github/workflows/map-diff.yml
vendored
|
@ -54,10 +54,17 @@ jobs:
|
|||
done
|
||||
|
||||
echo "::set-output name=COMMENT_BODY::$comment_body"
|
||||
- name: Find comment
|
||||
uses: peter-evans/find-comment@v2
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
comment-author: 'github-actions[bot]'
|
||||
- name: Add comment
|
||||
uses: peter-evans/create-or-update-comment@v1.4.5
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
edit-mode: replace
|
||||
body: |
|
||||
${{ steps.get-maps-diff.outputs.COMMENT_BODY }}
|
||||
|
|
Loading…
Add table
Reference in a new issue