Skip to content

Commit

Permalink
map-diff: replace previous comment
Browse files Browse the repository at this point in the history
  • Loading branch information
macabeus authored and soliton- committed May 17, 2022
1 parent 4031124 commit 77d5c6c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/map-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 77d5c6c

Please sign in to comment.