forked from TauCetiStation/TauCetiClassic
-
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.
COMPONENTOWNERS instead of CODEOWNERS (TauCetiStation#12270)
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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,48 @@ | ||
## | ||
# Почти CODEOWNERS, только работает лучше. Формат: https://github.com/dyladan/component-owners | ||
# Реквестит ревью указанных людей/команд при изменениях в указанных файлах/папках. Названия команд начинаются с "/", пути от корневой папки. | ||
# | ||
# Вы должны быть частью команды гитхаб-организации, иначе гитхаб не сможет назначить вас на ревью. | ||
# Так что запросите у мейнтейнеров инвайт в группу Collaborators, если необходимо. Или в другие подходящие группы. | ||
# | ||
# Держите файлы и папки в алфавитном порядке (так, как они отсортированны в DreamMaker и taucetistation.dme). | ||
# | ||
# CODEOWNERS используются у нас ТОЛЬКО ДЛЯ УВЕДОМЛЕНИЙ, если вы хотите закрепить за собой обязательность | ||
# ревью PR-а перед мержем - напишите об этом дополнительно в PR, желательно в первые сутки его открытия! | ||
# | ||
## | ||
|
||
components: | ||
## Код ## | ||
|
||
# /code/ | ||
code/modules/client/preferences_savefile.dm: volas | ||
|
||
## Конфиги ## | ||
config/: volas | ||
|
||
## Иконки ## | ||
icons/: | ||
/sprites-department | ||
|
||
## Карты ## | ||
maps/boxstation/: /maps-department | ||
#maps/delta/: Deahaka | ||
#maps/falcon/: Tap0r | ||
#maps/gamma/: AgRevol | ||
#maps/prometheus/: Tap0r | ||
#maps/stroechka/: Tap0r | ||
maps/testmap/: volas | ||
|
||
## TGUI ## | ||
# tgui/: вы | ||
|
||
## Общее ## | ||
"*.py": volas | ||
"*.sh": volas | ||
|
||
.github/: /maintainers | ||
|
||
ignored-authors: | ||
- dependabot | ||
- renovate-bot |
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,27 @@ | ||
name: 'Component Owners' | ||
on: | ||
# pull_request_target is suggested for projects where pull requests will be | ||
# made from forked repositories. If pull_request is used in these cases, | ||
# the github token will not have sufficient permission to update the PR. | ||
pull_request_target: | ||
|
||
permissions: | ||
contents: read # to read changed files | ||
issues: write # to read/write issue assignees | ||
pull-requests: write # to read/write PR reviewers | ||
|
||
jobs: | ||
run_self: | ||
runs-on: ubuntu-latest | ||
name: Auto Assign Owners | ||
steps: | ||
- uses: volas/component-owners@main | ||
with: | ||
# default: .github/component_owners.yml | ||
config-file: .github/COMPONENTOWNERS.yml | ||
# default: ${{ github.token }} | ||
repo-token: ${{ secrets.CODEOWNER_SECRET }} | ||
# default: true | ||
assign-owners: "false" | ||
# default: true | ||
request-owner-reviews: "true" |