Skip notification from ks-ci-bot in issue comment
Signed-off-by: Zhengyi Lai <zheng1@kubesphere.io>
This commit is contained in:
1
.github/workflows/issue_comment_webhook.yml
vendored
1
.github/workflows/issue_comment_webhook.yml
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user