From 66d4744c5b4c778054965533ea0f0de774f42d10 Mon Sep 17 00:00:00 2001 From: yutao Date: Mon, 22 Apr 2024 23:03:28 +0800 Subject: [PATCH] chore: should not trigger lark noti if sender is a project member --- .github/workflows/issue-pr-trigger.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/issue-pr-trigger.yml b/.github/workflows/issue-pr-trigger.yml index a54e6400a489..2ad6d8aadb78 100644 --- a/.github/workflows/issue-pr-trigger.yml +++ b/.github/workflows/issue-pr-trigger.yml @@ -22,6 +22,8 @@ jobs: GH_TOKEN: ${{ github.token }} run: | SENDER=${{ github.event.sender.login }} + gh --version + gh api /orgs/$REPO_OWNER/members/$SENDER MEMBER=$(gh api /orgs/$REPO_OWNER/members/$SENDER 2>&1) STATUS=$?