From ef51b9224f9c18bf8c1f1546e9cea563a3381350 Mon Sep 17 00:00:00 2001 From: "John L. Singleton" Date: Thu, 30 Mar 2023 09:25:37 -0400 Subject: [PATCH] Update dispatch-matrix-test-on-comment.yml Fixed --- .github/workflows/dispatch-matrix-test-on-comment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dispatch-matrix-test-on-comment.yml b/.github/workflows/dispatch-matrix-test-on-comment.yml index 33f80e4b40..5d391539e0 100644 --- a/.github/workflows/dispatch-matrix-test-on-comment.yml +++ b/.github/workflows/dispatch-matrix-test-on-comment.yml @@ -38,6 +38,7 @@ jobs: client-payload: '{"pr": "${{ github.event.number }}"}' - uses: actions/github-script@v6 + if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-matrix') }} with: script: | github.rest.issues.createComment({