From 50cdfe009087afe6cec64235bc5bc79ca38c606b Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 16 Jul 2024 22:40:09 +0200 Subject: [PATCH] ci: change action for commenting PRs Signed-off-by: Ettore Di Giacinto --- .github/workflows/comment-pr.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/comment-pr.yaml b/.github/workflows/comment-pr.yaml index fda8cdc4..d536887e 100644 --- a/.github/workflows/comment-pr.yaml +++ b/.github/workflows/comment-pr.yaml @@ -68,9 +68,10 @@ jobs: echo EOF } >> "$GITHUB_OUTPUT" docker logs --tail 10 local-ai - - name: Comment PR with execution number - uses: thollander/actions-comment-pull-request@v2 + - uses: mshick/add-pr-comment@v2 + if: always() with: - GITHUB_TOKEN: ${{ secrets.UPDATE_BOT_TOKEN }} - message: ${{ steps.summarize.outputs.message }} - comment_tag: execution + repo-token: ${{ secrets.UPDATE_BOT_TOKEN }} + message: ${{ steps.summarize.outputs.message }} + message-failure: | + Uh oh! Could not analyze this PR, maybe it's too big?