diff --git a/.github/workflows/publish-qa-results.yml b/.github/workflows/publish-qa-results.yml
index d2ee5603..d2ab68e8 100644
--- a/.github/workflows/publish-qa-results.yml
+++ b/.github/workflows/publish-qa-results.yml
@@ -153,7 +153,7 @@ jobs:
           body-includes: QA Summary
       - name: Create or update comment
         if: inputs.write-comment
-        uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
+        uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
         with:
           comment-id: ${{ steps.find-comment.outputs.comment-id }}
           issue-number: ${{ github.event.pull_request.number }}