forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto assign approver and maintainers to PRs (#1301)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
- Loading branch information
1 parent
2d61c7e
commit 145f60a
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Set to true to add reviewers to pull requests | ||
addReviewers: false | ||
|
||
# Set to true to add assignees to pull requests | ||
addAssignees: true | ||
|
||
# Set to true to add assignees from different groups to pull requests | ||
useAssigneeGroups: true | ||
|
||
# A list of assignees, split into different groups, to be added to pull requests (GitHub user name) | ||
assigneeGroups: | ||
approvers_maintainers: | ||
- anuraaga | ||
- bogdandrutu | ||
- dmitryax | ||
- james-bebbington | ||
- jrcamp | ||
- jpkrohling | ||
- nilebox | ||
- owais | ||
- tigrannajaryan | ||
|
||
# A number of assignees added to the pull request | ||
# Set 0 to add all the assignees (default: 0) | ||
numberOfAssignees: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Auto Assign' | ||
on: | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
add-owner: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: run | ||
uses: kentaro-m/auto-assign-action@v1.1.2 | ||
with: | ||
configuration-path: ".github/auto_assign.yml" | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' |