0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

ci: use one action for comments (#6406)

* ci: use single action for comments

* Update .github/workflows/benchmark.yml

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
This commit is contained in:
Emanuele Stoppa 2023-03-02 16:10:56 +00:00 committed by GitHub
parent 45501c531b
commit f208b5f897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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