From b8ce0cd9599e642857c823bb192ba1ccab1d0e7b Mon Sep 17 00:00:00 2001 From: Tomachi <8929706+book000@users.noreply.github.com> Date: Fri, 25 Feb 2022 15:17:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=81=97=E3=81=9F=E4=BA=BA=E3=81=AE=E5=8F=96=E5=BE=97=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/jaotan-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jaotan-review.yml b/.github/workflows/jaotan-review.yml index 5b4719caa..03c7cf424 100644 --- a/.github/workflows/jaotan-review.yml +++ b/.github/workflows/jaotan-review.yml @@ -7,11 +7,11 @@ on: jobs: review: runs-on: ubuntu-latest - if: github.event.issue.pull_request != null && github.event.issue.actor.id == "8929706" && contains(github.event.comment.body, '@jaotan') && contains(github.event.comment.body, 'review') + if: github.event.issue.pull_request != null && github.event.sender.id == "8929706" && contains(github.event.comment.body, '@jaotan') && contains(github.event.comment.body, 'review') steps: - name: Review run: gh pr review ${{ github.event.issue.number }} -a -b "It was reviewed by a request by comment." env: - GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}