Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 72b36d9

Browse files
committed
ci: auto-assign を試すためのプルリク
1 parent 63fa0f0 commit 72b36d9

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.github/assign.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# レビュアーとアサイン(担当者)の設定
3+
#
4+
# actions/auto-assign-action 用
5+
#
6+
# GitHub
7+
# - https://github.com/marketplace/actions/auto-assign-action
8+
#
9+
---
10+
11+
# アサインを追加
12+
addAssignees: author
13+
14+
# レビュアーを追加
15+
addReviewers: true
16+
17+
# レビュアーのリスト
18+
reviewGroups:
19+
- sunabak0/akiyadego
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Assign PR Reviewers and Assignees
3+
4+
#
5+
# 'on' にしている理由
6+
# yamllintで怒られるため
7+
#
8+
# 参考: https://github.com/adrienverge/yamllint/issues/430
9+
#
10+
'on':
11+
pull_request:
12+
types: [opened, ready_for_review]
13+
branches-ignore:
14+
- 'renovate/**'
15+
16+
jobs:
17+
assign-reviewers-assignees:
18+
#
19+
# PR 元が renovate 起因の場合、 job skip
20+
# (renovate 起因の場合、ブランチ名は renovate/**)
21+
#
22+
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
23+
runs-on: ubuntu-latest
24+
timeout-minutes: 5
25+
steps:
26+
- name: PR にレビュアーとアサインを追加
27+
uses: kentaro-m/[email protected]
28+
with:
29+
repo-token: ${{ secrets.GITHUB_TOKEN }}
30+
configuration-path: '.github/assign.yml'

0 commit comments

Comments
 (0)