mirror of https://github.com/apache/kafka.git
MINOR Update asf.yaml collaborators (#17345)
Reviewers: Josep Prat <josep.prat@aiven.io>
This commit is contained in:
parent
cfd7d94108
commit
2547d750a3
35
.asf.yaml
35
.asf.yaml
|
@ -16,37 +16,22 @@
|
|||
# under the License.
|
||||
|
||||
notifications:
|
||||
commits: commits@kafka.apache.org
|
||||
issues: jira@kafka.apache.org
|
||||
commits: commits@kafka.apache.org
|
||||
issues: jira@kafka.apache.org
|
||||
pullrequests: jira@kafka.apache.org
|
||||
jira_options: link label
|
||||
|
||||
# This list allows you to trigger builds on pull requests. It can have a maximum of 10 people.
|
||||
# https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=Git+-+.asf.yaml+features#Git.asf.yamlfeatures-JenkinsPRwhitelisting
|
||||
jenkins:
|
||||
github_whitelist:
|
||||
- FrankYang0529
|
||||
- kamalcph
|
||||
- apoorvmittal10
|
||||
- lianetm
|
||||
- brandboat
|
||||
- kirktrue
|
||||
- nizhikov
|
||||
- OmniaGM
|
||||
- dongnuo123
|
||||
- frankvicky
|
||||
|
||||
# This list allows you to triage pull requests. It can have a maximum of 10 people.
|
||||
# https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=Git+-+.asf.yaml+features#Git.asf.yamlfeatures-AssigningexternalcollaboratorswiththetriageroleonGitHub
|
||||
# This list allows you to triage pull requests and trigger workflow runs on GitHub Actions. It can have a maximum of 10 collaborators.
|
||||
# Read more here: https://github.com/apache/infrastructure-asfyaml
|
||||
github:
|
||||
collaborators:
|
||||
- FrankYang0529
|
||||
- kamalcph
|
||||
- AndrewJSchofield
|
||||
- apoorvmittal10
|
||||
- lianetm
|
||||
- brandboat
|
||||
- kirktrue
|
||||
- nizhikov
|
||||
- OmniaGM
|
||||
- dongnuo123
|
||||
- frankvicky
|
||||
- FrankYang0529
|
||||
- kirktrue
|
||||
- m1a2st
|
||||
- nizhikov
|
||||
- OmniaGM
|
||||
|
|
|
@ -111,12 +111,14 @@ def update_local_yaml_content(yaml_file_path: str, collaborators: List[str]) ->
|
|||
f"Updating {yaml_file_path} with {len(collaborators)} new collaborators"
|
||||
)
|
||||
|
||||
collaborators.sort(key=str.casefold)
|
||||
|
||||
with open(yaml_file_path, "r", encoding="utf-8") as file:
|
||||
yaml: YAML = YAML()
|
||||
yaml.indent(mapping=2, sequence=4, offset=2)
|
||||
yaml_content: dict = yaml.load(file)
|
||||
|
||||
yaml_content["jenkins"]["github_whitelist"] = collaborators
|
||||
yaml_content["github"]["collaborators"] = collaborators.copy()
|
||||
yaml_content["github"]["collaborators"] = collaborators
|
||||
|
||||
with open(yaml_file_path, "w", encoding="utf-8") as file:
|
||||
yaml.dump(yaml_content, file)
|
||||
|
|
Loading…
Reference in New Issue