diff --git a/.github/.kodiak.toml b/.github/.kodiak.toml new file mode 100644 index 000000000..f9270971c --- /dev/null +++ b/.github/.kodiak.toml @@ -0,0 +1,11 @@ +version = 1 + +[merge] +require_automerge_label = false +blocking_labels = ['blocked'] +method = 'squash' + +[merge.message] +title = 'pull_request_title' +strip_html_comments = true +include_coauthors = true diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 000000000..e53c75f6b --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,8 @@ +addReviewers: true +reviewers: + - iCrawl + - SpaceEEC + - kyranet + - vladfrangu +numberOfReviewers: 0 +runOnDraft: true diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..b2ed135fc --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,15 @@ +apps:guide: + - apps/guide/* + - apps/guide/**/* +apps:website: + - apps/website/* + - apps/website/**/* +packages:discord.js: + - scripts/* + - scripts/**/* + - src/* + - src/**/* + - test/* + - test/**/* + - typings/* + - typings/**/* diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml new file mode 100644 index 000000000..8a0c1dea6 --- /dev/null +++ b/.github/workflows/pr-triage.yml @@ -0,0 +1,17 @@ +name: 'PR Triage' +on: + pull_request_target: +jobs: + pr-triage: + name: PR Triage + runs-on: ubuntu-latest + steps: + - name: Automatically label PR + uses: actions/labeler@v4 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' + sync-labels: true + + - name: Automatically assign reviewers + if: github.event.action == 'opened' + uses: kentaro-m/auto-assign-action@v1.2.4