From fcc47d82be2d843ff8087cb98c4eff8f06026677 Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Tue, 23 Jul 2024 14:48:25 +0200 Subject: [PATCH] Introduce component owners (#4646) --- .github/CODEOWNERS | 37 ------------ .github/component-owners.yml | 79 ++++++++++++++++++++++++++ .github/workflows/component-owners.yml | 13 +++++ 3 files changed, 92 insertions(+), 37 deletions(-) create mode 100644 .github/component-owners.yml create mode 100644 .github/workflows/component-owners.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6b090dbe7bc3..f61d9e7aba30 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -14,40 +14,3 @@ # Global owners, will be the owners for everything in the repo. * @open-telemetry/docs-approvers - -# content owners -content-modules/ @open-telemetry/docs-maintainers -content-modules/opamp-spec @open-telemetry/docs-maintainers @open-telemetry/opamp-spec-approvers -content-modules/opentelemetry-proto @open-telemetry/docs-maintainers @open-telemetry/specs-approvers -content-modules/opentelemetry-specification @open-telemetry/docs-maintainers @open-telemetry/specs-approvers -content-modules/semantic-conventions @open-telemetry/docs-maintainers @open-telemetry/specs-semconv-approvers -content/en/blog/ @open-telemetry/docs-maintainers -content/en/community/end-user/ @open-telemetry/docs-approvers @open-telemetry/sig-end-user-approvers -content/en/docs/collector @open-telemetry/docs-approvers @open-telemetry/collector-approvers -content/en/docs/contributing/ @open-telemetry/docs-approvers @open-telemetry/docs-maintainers -content/en/docs/demo @open-telemetry/docs-approvers @open-telemetry/demo-approvers -content/en/docs/kubernetes/helm/ @open-telemetry/docs-approvers @open-telemetry/helm-approvers -content/en/docs/kubernetes/operator/ @open-telemetry/docs-approvers @open-telemetry/operator-approvers -content/en/docs/languages/cpp/ @open-telemetry/docs-approvers @open-telemetry/cpp-approvers -content/en/docs/languages/erlang/ @open-telemetry/docs-approvers @open-telemetry/erlang-approvers -content/en/docs/languages/go/ @open-telemetry/docs-approvers @open-telemetry/go-approvers @open-telemetry/go-instrumentation-approvers -content/en/docs/languages/java/ @open-telemetry/docs-approvers @open-telemetry/java-approvers @open-telemetry/java-instrumentation-approvers -content/en/docs/languages/js/ @open-telemetry/docs-approvers @open-telemetry/javascript-approvers -content/en/docs/languages/net/ @open-telemetry/docs-approvers @open-telemetry/dotnet-approvers @open-telemetry/dotnet-instrumentation-approvers -content/en/docs/languages/php/ @open-telemetry/docs-approvers @open-telemetry/php-approvers -content/en/docs/languages/python/ @open-telemetry/docs-approvers @open-telemetry/python-approvers -content/en/docs/languages/ruby/ @open-telemetry/docs-approvers @open-telemetry/ruby-approvers @open-telemetry/ruby-contrib-approvers -content/en/docs/languages/rust/ @open-telemetry/docs-approvers @open-telemetry/rust-approvers -content/en/docs/languages/swift/ @open-telemetry/docs-approvers @open-telemetry/swift-approvers -content/en/docs/security/ @open-telemetry/docs-approvers @open-telemetry/sig-security-maintainers -content/en/docs/specs/ @open-telemetry/docs-approvers @open-telemetry/specs-approvers -content/en/docs/zero-code/go @open-telemetry/docs-approvers @open-telemetry/go-approvers @open-telemetry/go-instrumentation-approvers -content/en/docs/zero-code/java/ @open-telemetry/docs-approvers @open-telemetry/java-approvers @open-telemetry/java-instrumentation-approvers -content/en/docs/zero-code/js/ @open-telemetry/docs-approvers @open-telemetry/javascript-approvers -content/en/docs/zero-code/net/ @open-telemetry/docs-approvers @open-telemetry/dotnet-approvers @open-telemetry/dotnet-instrumentation-approvers -content/en/docs/zero-code/python/ @open-telemetry/docs-approvers @open-telemetry/python-approvers -content/en/docs/zero-code/php/ @open-telemetry/docs-approvers @open-telemetry/php-approvers -content/en/ecosystem/demo/ @open-telemetry/demo-approvers @open-telemetry/demo-approvers -content/zh/ @open-telemetry/docs-maintainers @open-telemetry/docs-zh-approvers -content/ja/ @open-telemetry/docs-maintainers @open-telemetry/docs-ja-approvers - diff --git a/.github/component-owners.yml b/.github/component-owners.yml new file mode 100644 index 000000000000..f92ed31dbe18 --- /dev/null +++ b/.github/component-owners.yml @@ -0,0 +1,79 @@ +# This file is used to define the owners of the content modules in the OpenTelemetry repository. +components: + content-modules: + - open-telemetry/docs-maintainers + content-modules/opamp-spec: + - open-telemetry/docs-maintainers + - open-telemetry/opamp-spec-approvers + content-modules/opentelemetry-proto: + - open-telemetry/docs-maintainers + - open-telemetry/specs-approvers + content-modules/opentelemetry-specification: + - open-telemetry/docs-maintainers + - open-telemetry/specs-approvers + content-modules/semantic-conventions: + - open-telemetry/docs-maintainers + - open-telemetry/specs-semconv-approvers + content/en/blog: + - open-telemetry/docs-maintainers + content/en/community/end-user: + - open-telemetry/sig-end-user-approvers + content/en/docs/collector: + - open-telemetry/collector-approvers + content/en/docs/contributing: + - open-telemetry/docs-maintainers + content/en/docs/demo: + - open-telemetry/demo-approvers + content/en/docs/kubernetes/helm: + - open-telemetry/helm-approvers + content/en/docs/kubernetes/operator: + - open-telemetry/operator-approvers + content/en/docs/languages/cpp: + - open-telemetry/cpp-approvers + content/en/docs/languages/erlang: + - open-telemetry/erlang-approvers + content/en/docs/languages/go: + - open-telemetry/go-approvers + - open-telemetry/go-instrumentation-approvers + content/en/docs/languages/java: + - open-telemetry/java-approvers + - open-telemetry/java-instrumentation-approvers + content/en/docs/languages/js: + - open-telemetry/javascript-approvers + content/en/docs/languages/net: + - open-telemetry/dotnet-approvers + - open-telemetry/dotnet-instrumentation-approvers + content/en/docs/languages/php: + - open-telemetry/php-approvers + content/en/docs/languages/python: + - open-telemetry/python-approvers + content/en/docs/languages/ruby: + - open-telemetry/ruby-approvers + - open-telemetry/ruby-contrib-approvers + content/en/docs/languages/rust: + - open-telemetry/rust-approvers + content/en/docs/languages/swift: + - open-telemetry/swift-approvers + content/en/docs/security: + - open-telemetry/sig-security-maintainers + content/en/docs/specs: + - open-telemetry/specs-approvers + content/en/docs/zero-code/java: + - open-telemetry/java-approvers + - open-telemetry/java-instrumentation-approvers + content/en/docs/zero-code/js: + - open-telemetry/javascript-approvers + content/en/docs/zero-code/net: + - open-telemetry/dotnet-approvers + - open-telemetry/dotnet-instrumentation-approvers + content/en/ecosystem/demo: + - open-telemetry/demo-approvers + content/zh: + - open-telemetry/docs-maintainers + - open-telemetry/docs-zh-approvers + content/ja: + - open-telemetry/docs-maintainers + - open-telemetry/docs-ja-approvers + content/pt: + - open-telemetry/docs-maintainers + - open-telemetry/docs-pt-approvers diff --git a/.github/workflows/component-owners.yml b/.github/workflows/component-owners.yml new file mode 100644 index 000000000000..5429dc4ae505 --- /dev/null +++ b/.github/workflows/component-owners.yml @@ -0,0 +1,13 @@ +name: Component owners +on: + pull_request_target: + +jobs: + run_self: + runs-on: ubuntu-latest + name: Assign component owners + steps: + - uses: dyladan/component-owners@v0.1.0 + with: + config-file: .github/component-owners.yml + repo-token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}