-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# レビュアーとアサイン(担当者)の設定 | ||
# | ||
# actions/auto-assign-action 用 | ||
# | ||
# GitHub | ||
# - https://github.com/marketplace/actions/auto-assign-action | ||
# | ||
--- | ||
|
||
# アサインを追加 | ||
addAssignees: author | ||
|
||
# レビュアーを追加 | ||
addReviewers: true | ||
|
||
# レビュアーのリスト | ||
reviewGroups: | ||
- sunabak0/akiyadego |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Assign PR Reviewers and Assignees | ||
|
||
# | ||
# 'on' にしている理由 | ||
# yamllintで怒られるため | ||
# | ||
# 参考: https://github.com/adrienverge/yamllint/issues/430 | ||
# | ||
'on': | ||
pull_request: | ||
types: [opened, ready_for_review] | ||
branches-ignore: | ||
- 'renovate/**' | ||
|
||
jobs: | ||
assign-reviewers-assignees: | ||
# | ||
# PR 元が renovate 起因の場合、 job skip | ||
# (renovate 起因の場合、ブランチ名は renovate/**) | ||
# | ||
if: ${{ !startsWith(github.head_ref, 'renovate/') }} | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: PR にレビュアーとアサインを追加 | ||
uses: kentaro-m/auto-assign-action@v1.2.4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
configuration-path: '.github/assign.yml' |