diff options
author | 2023-03-02 16:10:56 +0000 | |
---|---|---|
committer | 2023-03-02 16:10:56 +0000 | |
commit | f208b5f897189d67b6a83c1643fab31decacb8fc (patch) | |
tree | 539ecdffae2ad4232d74bbe6407285e44d0123e8 | |
parent | 45501c531bf75f60063e1f8b7ac50f5d8d93eb6f (diff) | |
download | astro-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.yml | 7 |
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 |