From f8044caffbc4e91d1f7b6a9e48bd2f866503f9a7 Mon Sep 17 00:00:00 2001 From: Kenichi Maehashi Date: Wed, 18 Sep 2024 03:14:30 +0000 Subject: [PATCH] fix --- .github/workflows/dispatch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 944f25a..698792e 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -21,7 +21,7 @@ jobs: with: script: | // Check if the comment contain "/test rocm" request. - const comments = github.event.comment.body.split('\n'); + const comments = context.payload.comment.body.split('\n'); if (!lines.some(line => line.trim().startsWith('/test ') && line.includes('rocm'))) { return; }