summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <my.burning@gmail.com> 2023-03-02 16:10:56 +0000
committerGravatar GitHub <noreply@github.com> 2023-03-02 16:10:56 +0000
commitf208b5f897189d67b6a83c1643fab31decacb8fc (patch)
tree539ecdffae2ad4232d74bbe6407285e44d0123e8
parent45501c531bf75f60063e1f8b7ac50f5d8d93eb6f (diff)
downloadastro-f208b5f897189d67b6a83c1643fab31decacb8fc.tar.gz
astro-f208b5f897189d67b6a83c1643fab31decacb8fc.tar.zst
astro-f208b5f897189d67b6a83c1643fab31decacb8fc.zip
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>
-rw-r--r--.github/workflows/benchmark.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 13a2ad39f..6f0b2a570 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -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