From e3cf6cc4761a7b471f5cccd20367c3372edd4e74 Mon Sep 17 00:00:00 2001
From: Bai <baijiangjie@gmail.com>
Date: Thu, 29 Jun 2023 14:27:13 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20Issue=20GitHub=20A?=
 =?UTF-8?q?ctions=EF=BC=8C=E5=BD=93=E7=A0=94=E5=8F=91=E5=9B=A2=E9=98=9F?=
 =?UTF-8?q?=E6=88=90=E5=91=98=E8=AF=84=E8=AE=BA=E5=90=8E=E5=86=8D=E7=A7=BB?=
 =?UTF-8?q?=E9=99=A4=20=E5=BE=85=E5=A4=84=E7=90=86=20=E6=A0=87=E7=AD=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .github/workflows/issue-comment.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/issue-comment.yml b/.github/workflows/issue-comment.yml
index b46ee0b53..daba13979 100644
--- a/.github/workflows/issue-comment.yml
+++ b/.github/workflows/issue-comment.yml
@@ -40,20 +40,20 @@ jobs:
         id: developer_names
         run: echo "::set-output name=data::$(echo '${{ steps.developers.outputs.data }}' | jq -r '.[] | .login')"
 
-      - run: "echo developers: '${{ steps.developer.outputs.data }}' '${{github.event.comment.user.id}}'"
+      - run: "echo developers: '${{ steps.developers.outputs.data }}'"
       - run: "echo developer names: '${{ steps.developer_names.outputs.data }}'"
-      - run: "echo comment user: '${{ github.event.comment.user.id }}'"
-      - run: "echo contains? : '${{ contains(steps.developer_names.outputs.data, github.event.comment.user.id) }}'"
+      - run: "echo comment user: '${{ github.event.comment.user.login }}'"
+      - run: "echo contains? : '${{ contains(steps.developer_names.outputs.data, github.event.comment.user.login) }}'"
 
       - name: Add require replay label
-        if: contains(steps.developer_names.outputs.data, github.event.comment.user.id)
+        if: contains(steps.developer_names.outputs.data, github.event.comment.user.login)
         uses: actions-cool/issues-helper@v2
         with:
           actions: 'add-labels'
           labels: '状态:待反馈'
 
       - name: Remove require handle label
-        if: contains(steps.developer_names.outputs.data, github.event.comment.user.id)
+        if: contains(steps.developer_names.outputs.data, github.event.comment.user.login)
         uses: actions-cool/issues-helper@v2
         with:
           actions: 'remove-labels'