mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
ci: add pull request triage and Kodiak merge workflow (#9109)
* chore: enable kodiak for auto merges * ci: add pull request triage * ci: update kentaro-m/auto-assign-action This supports Node.js 16. --------- Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
11
.github/.kodiak.toml
vendored
Normal file
11
.github/.kodiak.toml
vendored
Normal file
@@ -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
|
||||||
8
.github/auto_assign.yml
vendored
Normal file
8
.github/auto_assign.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
addReviewers: true
|
||||||
|
reviewers:
|
||||||
|
- iCrawl
|
||||||
|
- SpaceEEC
|
||||||
|
- kyranet
|
||||||
|
- vladfrangu
|
||||||
|
numberOfReviewers: 0
|
||||||
|
runOnDraft: true
|
||||||
15
.github/labeler.yml
vendored
Normal file
15
.github/labeler.yml
vendored
Normal file
@@ -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/**/*
|
||||||
17
.github/workflows/pr-triage.yml
vendored
Normal file
17
.github/workflows/pr-triage.yml
vendored
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user