Skip to content

Commit

Permalink
baselining codeowners and maintainers (#120)
Browse files Browse the repository at this point in the history
* baselining codeowners and maintainers

Signed-off-by: Dhrubo Saha <[email protected]>

* 2 person release approval

Signed-off-by: Dhrubo Saha <[email protected]>

* remove unused line

Signed-off-by: Dhrubo Saha <[email protected]>

---------

Signed-off-by: Dhrubo Saha <[email protected]>
  • Loading branch information
dhrubo-os authored Mar 24, 2023
1 parent f6cf39f commit db4ae56
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# This should match the team set up in https://github.com/orgs/opensearch-project/teams and include any additional contributors
* @dhrubo-os @mingshl
* @dhrubo-os @greaa-aws @ylwu-amzn
11 changes: 11 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- id: get_approvers
run: |
echo "approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')" >> $GITHUB_OUTPUT
- uses: trstringer/manual-approval@v1
with:
secret: ${{ github.TOKEN }}
approvers: ${{ steps.get_approvers.outputs.approvers }}
minimum-approvals: 2
issue-title: 'Release opensearch-py-ml'
issue-body: "Please approve or deny the release of opensearch-py-ml. **Tag**: ${{ github.ref_name }} **Commit**: ${{ github.sha }}"
exclude-workflow-initiator-as-approver: true
- name: Set up Python 3
uses: actions/setup-python@v3
with:
Expand Down
12 changes: 9 additions & 3 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ This document contains a list of maintainers in this repo. See [opensearch-proje

| Maintainer | GitHub ID | Affiliation |
| ----------- | --------------------------------------------------------- | ----------- |
| Yaliang Wu | [ylwu-amzn](https://github.com/ylwu-amzn) | Amazon |
| Sean Zheng | [sean-zheng-amazon](https://github.com/sean-zheng-amazon) | Amazon |
| Dhrubo Saha | [dhrubo-os](https://github.com/dhrubo-os) | Amazon |
| Mingshi Liu | [mingshl](https://github.com/mingshl) | Amazon |
| Yaliang Wu | [ylwu-amzn](https://github.com/ylwu-amzn) | Amazon |



## Emeritus

| Maintainer | GitHub ID | Affiliation |
|----------------------|---------------------------------------------|-------------|
| Mingshi Liu | [mingshl](https://github.com/mingshl) | Amazon |

0 comments on commit db4ae56

Please sign in to comment.