From 8a31fbe35e6fb4837fa1f0c0e29e0fb668b1e3fc Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 3 Dec 2021 15:19:25 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E5=88=A4=E6=96=AD?= =?UTF-8?q?=20pull=20request?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-comment.yml | 2 +- .github/workflows/issue-open.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/issue-comment.yml b/.github/workflows/issue-comment.yml index 19bca0104..c923e7fba 100644 --- a/.github/workflows/issue-comment.yml +++ b/.github/workflows/issue-comment.yml @@ -5,7 +5,7 @@ on: jobs: add-label-if-is-author: runs-on: ubuntu-latest - if: ${{ github.event.comment.pull_request.user.id == github.event.comment.user.id }} + if: ${{ github.event.comment.pull_request.user.id == github.event.comment.user.id }} && ${{ !github.event.comment.pull_request.pull_request }} steps: - name: Add require handle label uses: actions-cool/issues-helper@v2 diff --git a/.github/workflows/issue-open.yml b/.github/workflows/issue-open.yml index 5307275b8..f4a6d16ec 100644 --- a/.github/workflows/issue-open.yml +++ b/.github/workflows/issue-open.yml @@ -10,6 +10,7 @@ jobs: steps: - name: Add labels uses: actions-cool/issues-helper@v2 + if: ${{ !github.event.comment.pull_request.pull_request }} with: actions: 'add-labels' labels: '状态:待处理' \ No newline at end of file