diff options
| author | Saumit <justsaumit@protonmail.com> | 2025-09-27 02:14:26 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2025-09-27 02:14:26 +0530 |
| commit | 82e03978b89938219958032efb1448cc76baa181 (patch) | |
| tree | 626f3e54d52ecd49be0ed3bee30abacc0453d081 /.github/workflows/assign-reviewers.yml | |
Initial snapshot - OpenTelemetry demo 2.1.3 -f
Diffstat (limited to '.github/workflows/assign-reviewers.yml')
| -rw-r--r-- | .github/workflows/assign-reviewers.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/assign-reviewers.yml b/.github/workflows/assign-reviewers.yml new file mode 100644 index 0000000..8ede7ab --- /dev/null +++ b/.github/workflows/assign-reviewers.yml @@ -0,0 +1,26 @@ +# Copyright The OpenTelemetry Authors +# SPDX-License-Identifier: Apache-2.0 +# assigns reviewers to pull requests in a similar way as CODEOWNERS, but doesn't require reviewers +# to have write access to the repository +# see .github/component_owners.yaml for the list of components and their owners +name: Assign reviewers + +on: + # pull_request_target is needed instead of just pull_request + # because repository write permission is needed to assign reviewers + pull_request_target: + +permissions: + contents: read + +jobs: + assign-reviewers: + permissions: + pull-requests: write # required for assigning reviewers to PRs + if: github.repository == 'open-telemetry/opentelemetry-demo' + runs-on: ubuntu-latest + steps: + - uses: dyladan/component-owners@main + with: + # using this action to request review only (not assignment) + assign-owners: false |
