Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/assign-by-files.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
# Changing all md files should request a language review in case of format failures.
# TomShawn is the repo administrator.
'*.*':
- TomShawn

# you can use glob pattern

# You can set multiple reviewers
Expand Down Expand Up @@ -31,8 +36,3 @@

# 'ticdc/':
# - WangXiangUSTC

# Changing all md files should request a language review in case of format failures.
# TomShawn is the repo administrator.
'*.*':
- yikeke
4 changes: 2 additions & 2 deletions .github/auto-label.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rules": {
"translation/welcome": ["*.md", "*.yml", "*.yaml", "*.json", "media/", "scripts/"],
"status/PTAL": ["*.md", "*.yml", "*.yaml", "*.json", "media/", "scripts/"]
"status/PTAL": ["*.*"]
}
}
}
26 changes: 26 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: false

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- TomShawn

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0

# A list of assignees, overrides reviewers if set
# assignees:
# - assigneeA

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
# numberOfAssignees: 2

# A list of keywords to be skipped the process that add reviewers if pull requests include it
# skipKeywords:
# - wip
12 changes: 12 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Add 'label1' to any changes within 'example' folder or any subfolders
translation/welcome:
- *.md
- *.yml
- *.yaml
- *.json
- media/
- scripts/

# Add 'label2' to any file changes within 'example2' folder
status/PTAL:
- *.*
28 changes: 28 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Auto Assign'
on:
pull_request:
branches:
- master
types: [opened, labeled]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.1.1

# name: "Auto Assign"
# on:
# pull_request:
# branches:
# - master
# types: [opened]

# jobs:
# assign_reviewer:
# runs-on: ubuntu-latest
# steps:
# - uses: shufo/auto-assign-reviewer-by-files@v1.0.0
# with:
# config: '.github/assign-by-files.yml'
# token: ${{ secrets.GITHUB_TOKEN }}
15 changes: 0 additions & 15 deletions .github/workflows/auto-assign.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/auto-label.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Pull Request Labeler"
on:
pull_request:
branches:
- master
types: [opened, labeled]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

# name: Auto Label
# on:
# pull_request:
# branches:
# - master
# types: [opened]

# jobs:
# auto-label:
# name: Auto Label
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: banyan/auto-label@1.2
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}