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:
parent
45501c531b
commit
f208b5f897
1 changed files with 4 additions and 3 deletions
7
.github/workflows/benchmark.yml
vendored
7
.github/workflows/benchmark.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue