Merge pull request #8507 from appwrite/feat-update-benchmark-comment

Feat update benchmark comment
This commit is contained in:
Steven Nguyen 2024-08-09 17:16:38 -07:00 committed by GitHub
commit 4dc2b57502
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -212,7 +212,17 @@ jobs:
name: benchmark.json
path: benchmark.json
retention-days: 7
- name: Comment on PR
uses: thollander/actions-comment-pull-request@v2
- name: Find Comment
uses: peter-evans/find-comment@v3
id: fc
with:
filePath: benchmark.txt
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Benchmark results
- name: Comment on PR
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body-path: benchmark.txt
edit-mode: replace