Skip notification from ks-ci-bot in issue comment

Signed-off-by: Zhengyi Lai <zheng1@kubesphere.io>
This commit is contained in:
Zhengyi Lai
2024-03-06 11:43:42 +08:00
parent 07f343a3c7
commit 64c06a0c34

View File

@@ -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;