diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000000..248fa167a0f8 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +packages/**/* @orta \ No newline at end of file diff --git a/.github/workflows/codeowners-merge.yml b/.github/workflows/codeowners-merge.yml new file mode 100644 index 000000000000..13e0be1ebb3b --- /dev/null +++ b/.github/workflows/codeowners-merge.yml @@ -0,0 +1,19 @@ +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@1.6.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + quiet: true + if_no_maintainers_add_label: 'maintainers'