diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7f1b98792..cac498e39 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: environment: testing runs-on: ubuntu-latest permissions: write-all - if: ${{ github.event.issue.pull_request }} && ${{ github.event.issue.body }} == "run tests" && ${{ github.event.issue.author_association }} == "COLLABORATOR" + if: ${{ github.event.issue.pull_request }} && ${{ github.event.issue_comment.comment.body }} == "run tests" && ${{ github.event.issue_comment.comment.author_association }} == "COLLABORATOR" steps: - name: Checkout code uses: actions/checkout@v4