Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@
#
# 参考: https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
#
# ⚠️ TODO(管理者): 下の <REVIEWER> を実在するTeam(@Lumos-Programming/xxx)
# または個人アカウント(@username)に書き換えてください。
# 存在しない指定はGitHub上で警告になり、自動アサインが機能しません。
# 注: Code Ownerには、このRepositoryへのWrite以上の権限が必要です。
# 現状このRepositoryはTeamではなく個人Collaboratorで権限管理しているため、
# Team(@Lumos-Programming/xxx)ではなく個人アカウントを指定しています。
# 将来Teamに権限を付与した場合は、Team指定に切り替えても構いません。

# 研修の教材そのもの。勝手に変更されないよう管理者をオーナーにする
/README.md @Lumos-Programming/<REVIEWER>
/docs/ @Lumos-Programming/<REVIEWER>
/exercises/ @Lumos-Programming/<REVIEWER>
/.github/ @Lumos-Programming/<REVIEWER>
/scripts/ @Lumos-Programming/<REVIEWER>
/README.md @Shion1305 @Tivo0921
/docs/ @Shion1305 @Tivo0921
/exercises/ @Shion1305 @Tivo0921
/.github/ @Shion1305 @Tivo0921
/scripts/ @Shion1305 @Tivo0921

# Conflict実習用のファイル。実習の仕込みが壊れると次の研修に影響するため保護する
/conflict-training/ @Lumos-Programming/<REVIEWER>
/conflict-training/ @Shion1305 @Tivo0921

# members/ は研修者が自由に追加する場所なので、あえてオーナーを設定しない
# (研修者同士でReviewし合うのが実習2の目的)
22 changes: 12 additions & 10 deletions docs/admin-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ git commit -m "Add Git/GitHub training materials"
git push -u origin main
```

### 1. Labelを作る
### 1. Labelを作る ✅ 設定済み

Issue Templateが `training` / `question` Labelを使います。**存在しないと付与されません。**

Expand All @@ -43,19 +43,21 @@ gh label create training --color 0E8A16 --description "Git/GitHub研修の進行
gh label create question --color D876E3 --description "研修中の質問" --force
```

### 2. CODEOWNERS を編集する
### 2. CODEOWNERS を編集する ✅ 設定済み

[`.github/CODEOWNERS`](../.github/CODEOWNERS) の `<REVIEWER>` を、実在するTeamまたは個人アカウントに置き換えてください。
存在しない指定は警告になり、自動アサインが機能しません。
[`.github/CODEOWNERS`](../.github/CODEOWNERS) のオーナーは `@Shion1305 @Tivo0921` になっています。
変更する場合は、以下に注意してください。

```text
/docs/ @Lumos-Programming/core
```

個人アカウントを使う場合:
- **Code OwnerにはこのRepositoryへのWrite以上の権限が必要です。**
権限のないアカウントやTeamを指定しても、自動アサインは機能しません。
- 現状このRepositoryはTeamではなく **個人Collaborator** で権限管理しています。
そのため `@Lumos-Programming/lusy` のようなTeam指定は**使えません**。
Teamを使いたい場合は、先にSettings → Collaborators and teams からTeamに権限を付与してください。
- なお `lusy` Teamには研修者本人が含まれます。教材のオーナーに指定すると
「研修者が教材の変更を自分で承認できる」状態になるため、避けてください。

```text
/docs/ @your-github-account
/docs/ @Shion1305 @Tivo0921
```

### 3. Actions を有効にする
Expand Down
Loading