Allow all Azure CLI commands in Android PR Reviewer - #12462
Open
jonathanpeppers with Copilot wants to merge 3 commits into
Open
Allow all Azure CLI commands in Android PR Reviewer#12462jonathanpeppers with Copilot wants to merge 3 commits into
jonathanpeppers with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix missing Azure CLI access in Android PR Reviewer
Allow Android PR Reviewer Azure CLI version check
Aug 20, 2026
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
jonathanpeppers
marked this pull request as ready for review
August 20, 2026 17:55
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Android PR Reviewer agentic workflow configuration to remove Azure CLI subcommand restrictions, enabling the reviewer to run arbitrary az commands while investigating Azure DevOps build failures.
Changes:
- Replace the previous Azure CLI allowlist (
az devops:*,az pipelines:*,az rest:*) with a single wildcard entry (az *) in the workflow frontmatter. - Regenerate
android-reviewer.lock.ymlso the compiled workflow permits--allow-tool shell(az).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/android-reviewer.md | Broadens the workflow’s allowed az CLI usage from specific subcommands to az *. |
| .github/workflows/android-reviewer.lock.yml | Regenerated lockfile reflecting the new shell(az) tool permission in the compiled execution step. |
Member
|
@dalexsoto review |
jonathanpeppers
approved these changes
Aug 20, 2026
simonrozsival
approved these changes
Aug 21, 2026
simonrozsival
disabled auto-merge
August 21, 2026 08:22
simonrozsival
enabled auto-merge (squash)
August 21, 2026 08:22
Member
|
@dalexsoto review |
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.
The Android PR Reviewer needs unrestricted Azure CLI access to investigate Azure DevOps build failures. The existing command policy allowed only selected
az devops,az pipelines, andaz restcommands, which blocked other Azure CLI commands required during investigation.az *.android-reviewer.lock.ymlso the compiled workflow permitsshell(az).