From 55b402216b2d244f313dd7b39ef0c1749b6db399 Mon Sep 17 00:00:00 2001 From: Splines Date: Wed, 15 May 2024 02:43:24 +0200 Subject: [PATCH] Use `issue_comment` webhook See https://docs.github.com/de/webhooks/webhook-events-and-payloads#issue_comment --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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