Skip to content

Commit

Permalink
ci: use one action for comments (#6406)
Browse files Browse the repository at this point in the history
* ci: use single action for comments

* Update .github/workflows/benchmark.yml

Co-authored-by: Bjorn Lu <[email protected]>

---------

Co-authored-by: Bjorn Lu <[email protected]>
  • Loading branch information
ematipico and bluwy authored Mar 2, 2023
1 parent 45501c5 commit f208b5f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ jobs:
pull-requests: write
steps:
- name: Comment PR
uses: thollander/actions-comment-pull-request@v1
uses: peter-evans/create-or-update-comment@v2
continue-on-error: true
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pr_number: ${{ github.event.issue.number }}
issue-number: ${{ github.event.issue.number }}
message: |
${{ needs.benchmark.outputs.PR-BENCH }}
${{ needs.benchmark.outputs.MAIN-BENCH }}
edit-mode: replace

0 comments on commit f208b5f

Please sign in to comment.