Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
fix: コメントした人の取得方法を変更
Browse files Browse the repository at this point in the history
  • Loading branch information
book000 authored Feb 25, 2022
1 parent 58ba2ad commit b8ce0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jaotan-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

0 comments on commit b8ce0cd

Please sign in to comment.