Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Assign reviewers through API in ping code owners workflow #16254

Merged

Conversation

evan-bradley
Copy link
Contributor

Description:

Assigns reviewers through the GitHub API in the "ping codeowners on PRs" workflow and ensure the workflow should never fail under ordinary circumstances. Also uses a loop for more comprehensible construction of the reviewers JSON list, the previous pipe had an issue in the situation where the PR author was also the last code owner in the list.

Also loop through owners list in the "add code owners to PR"
workflow, as it is more comprehensible than the pipe.
@evan-bradley evan-bradley force-pushed the fix-ping-codeowners-pr branch from b646e7e to e570fd3 Compare November 11, 2022 02:35
@bogdandrutu bogdandrutu merged commit d32d0ce into open-telemetry:main Nov 11, 2022
shalper2 pushed a commit to shalper2/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2022
…en-telemetry#16254)

Assign reviewers through API in ping code owners workflow

Also loop through owners list in the "add code owners to PR"
workflow, as it is more comprehensible than the pipe.

Co-authored-by: Evan Bradley <[email protected]>
@plantfansam plantfansam mentioned this pull request Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants