diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 00000000..9d8356d7 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,7 @@ +addReviewers: true +reviewers: + - iCrawl + - SpaceEEC + - kyranet + - vladfrangu +numberOfReviewers: 0 diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..b1b3085f --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,56 @@ +chore: + - any: ['*'] + all: + [ + '!deno/**/*', + '!gateway/**/*', + '!payloads/**/*', + '!rest/**/*', + '!rpc/**/*', + '!tests/**/*', + '!utils/**/*', + '!voice/**/*', + ] + +ci: + - .github/**/* + - .husky/**/* + - scripts/actions/**/* + +dependencies: + - package.json + - package-lock.json + +'topic:deno': + - scripts/deno.mjs + - scripts/actions/report-deno-not-ran.mjs + +'topic:gateway': + - gateway/**/* + +'topic:payloads': + - payloads/**/* + +'topic:rest': + - rest/**/* + +'topic:rpc': + - rpc/**/* + +'topic:scripts': + - scripts/**/* + +'topic:tests': + - tests/**/* + +'topic:utils': + - utils/**/* + +'topic:voice': + - voice/**/* + +'topic:globals': + - globals.ts + +'topic:website': + - website/**/* diff --git a/.github/labels.yml b/.github/labels.yml index 5bda2979..5e04a0c0 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -51,3 +51,7 @@ color: 'aed5fc' - name: 'topic:voice' color: 'aed5fc' +- name: 'topic:globals' + color: 'aed5fc' +- name: 'topic:website' + color: 'aed5fc' diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml new file mode 100644 index 00000000..96ce3765 --- /dev/null +++ b/.github/workflows/pr-automation.yml @@ -0,0 +1,18 @@ +name: 'PR Automation' + +on: + pull_request_target: + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - name: Automatically label PR + uses: actions/labeler@v3 + 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.1.2