Skip to content

Add workflow to assign reviewers for external PRs#19209

Open
stephaniezyen wants to merge 1 commit intomainfrom
stephyen-add-workflow-for-external-prs
Open

Add workflow to assign reviewers for external PRs#19209
stephaniezyen wants to merge 1 commit intomainfrom
stephyen-add-workflow-for-external-prs

Conversation

@stephaniezyen
Copy link
Contributor

@stephaniezyen stephaniezyen commented Mar 18, 2026

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 :)

Microsoft Reviewers: Open in CodeFlow

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 :)
@github-actions
Copy link
Contributor

Test this change out locally with the following install scripts (Action run 23261230491)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 23261230491
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 23261230491"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 23261230491
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 23261230491"

@stephaniezyen stephaniezyen requested a review from Copilot March 18, 2026 20:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_target workflow that requests reviews from the bicep-external-maintainers team.
  • 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
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.

2 participants