From aac7d4738c4582f461caa9453b2ac478a9ccabb6 Mon Sep 17 00:00:00 2001 From: Zhengyi Lai Date: Wed, 6 Mar 2024 11:44:45 +0800 Subject: [PATCH] Skip notification from ks-ci-bot in issue comment Signed-off-by: Zhengyi Lai --- .github/workflows/issue_comment_webhook.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/issue_comment_webhook.yml b/.github/workflows/issue_comment_webhook.yml index 01761af85f6..60e9992a68b 100644 --- a/.github/workflows/issue_comment_webhook.yml +++ b/.github/workflows/issue_comment_webhook.yml @@ -21,6 +21,7 @@ jobs: with: script: | console.log(context); + if (context.payload.sender.login === "ks-ci-bot") return; const axios = require('axios'); const issue = context.payload.issue; const comment = context.payload.comment;