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

Commit

Permalink
feat: #900 自動でレビュアーを追加する (#909)
Browse files Browse the repository at this point in the history
* feat: #900 自動でレビュアーを追加する

* fix: orじゃなくてandだった
  • Loading branch information
book000 authored Aug 10, 2022
1 parent 86e38a5 commit a94a390
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/add-reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Auto add reviewer

on:
pull_request:
types:
- opened
- reopened
branches:
- main
- master

jobs:
add-reviewer:
runs-on: ubuntu-latest
if: >-
${{
github.actor != 'dependabot[bot]' &&
github.actor != 'renovate[bot]' &&
github.actor != 'github-actions[bot]' &&
github.actor != 'book000'
}}
steps:
- name: Checkout
uses: actions/checkout@master

- name: Add reviewer
run: |
gh pr edit ${{ github.event.pull_request.number }} --add-reviewer book000
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a94a390

Please sign in to comment.