Add workflow to assign reviewers for external PRs#19209
Open
stephaniezyen wants to merge 1 commit intomainfrom
Open
Add workflow to assign reviewers for external PRs#19209stephaniezyen wants to merge 1 commit intomainfrom
stephaniezyen wants to merge 1 commit intomainfrom
Conversation
Creating a workflow to assign engineers to external PRs. We are limiting this workflow to: - non-dependabot PRs - non-internal PRs (marked with 'MEMBER' tag) We are utilizing github's assignment script. This will automatically apply round-robin assignment for everyone in the "Bicep External Maintainers" team. Written with help from Copilot :)
Contributor
|
Test this change out locally with the following install scripts (Action run 23261230491) VSCode
Azure CLI
|
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to automatically request reviewers on external pull requests, helping ensure inbound community PRs get timely engineering attention.
Changes:
- Introduces a
pull_request_targetworkflow that requests reviews from thebicep-external-maintainersteam. - Adds filtering logic intended to skip Dependabot PRs and internal PRs.
You can also share your feedback on Copilot code review. Take the survey.
Comment on lines
+13
to
+16
| # THe 'if' statement below will exclude Dependabot PRs and Internal ('MEMBER') PRs | ||
| if: > | ||
| github.actor != 'dependabot[bot]' && | ||
| github.event.pull_request.author_association != 'MEMBER' && |
|
|
||
| jobs: | ||
| assign-reviewers: | ||
| # THe 'if' statement below will exclude Dependabot PRs and Internal ('MEMBER') PRs |
|
|
||
| jobs: | ||
| assign-reviewers: | ||
| # THe 'if' statement below will exclude Dependabot PRs and Internal ('MEMBER') PRs |
Comment on lines
+13
to
+17
| # THe 'if' statement below will exclude Dependabot PRs and Internal ('MEMBER') PRs | ||
| if: > | ||
| github.actor != 'dependabot[bot]' && | ||
| github.event.pull_request.author_association != 'MEMBER' && | ||
| github.event.pull_request.head.repo.fork |
|
|
||
| permissions: | ||
| pull-requests: write | ||
| contents: read |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creating a workflow to assign engineers to external PRs.
We are limiting this workflow to:
We are utilizing github's assignment script. This will automatically apply round-robin assignment for everyone in the "Bicep External Maintainers" team.
Written with help from Copilot :)
Microsoft Reviewers: Open in CodeFlow