Allow the translations to be self-maintained by language owners (#50240)

Co-authored-by: Orta Therox <github@orta.io>
This commit is contained in:
Orta Therox
2021-01-04 15:01:42 +00:00
committed by GitHub
parent 283ce8c84c
commit b69f1e083f
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
name: Codeowners merging
on:
pull_request_target: { types: [opened] }
issue_comment: { types: [created] }
pull_request_review: { types: [submitted] }
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run Codeowners merge check
uses: OSS-Docs-Tools/code-owner-self-merge@v1
with:
cwd: './docs'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

8
docs/CODEOWNERS Normal file
View File

@@ -0,0 +1,8 @@
# See https://github.com/OSS-Docs-Tools/code-owner-self-merge
README.ru.md @demensky @virzak [translation] [README-RU]
README.cn.md @Kerminate @kunl [translation] [README-CN]
README.ja.md @MaySoMusician @sasurau4 [translation] [README-JA]
README.ko.md @Ailrun @cimfalab [translation] [README-KO]
README.es.md @LuigiBaute @kant [translation] [README-ES]
README.pt.md @thzoid @cdias900 [translation] [README-PT]