diff --git a/.github/workflows/trigger-on-comment.yml b/.github/workflows/trigger-on-comment.yml
index f2d84e15a4..fae801b8db 100644
--- a/.github/workflows/trigger-on-comment.yml
+++ b/.github/workflows/trigger-on-comment.yml
@@ -23,7 +23,7 @@ jobs:
           fi
       - name: Dispatch event
         if: steps.check-authorization.outputs.authorized == 'true'
-        uses: peter-evans/repository-dispatch@v1
+        uses: peter-evans/repository-dispatch@v3
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
           event-type: ok-to-test