Approve With Suggestions

Approve an Azure DevOps pull request while indicating non-blocking suggestions by casting an "Approved with suggestions" vote.

sasky80 06bbd6d 827 B Updated

File contents

Approve PR With Suggestions

Platform Note

  • Clean-install path: use the Go command from .github/tools/skills-go.

Arguments

# Name Required Description
1 organization Yes Azure DevOps organization
2 project Yes Project name or ID
3 repositoryId Yes Repository name or ID
4 pullRequestId Yes Pull request ID

Examples

go run ./.github/tools/skills-go/cmd/skills-go approve-with-suggestions myorg MyProject MyRepo 42

Output

Returns JSON with the reviewer vote object. A vote value of 5 means Approved with Suggestions.

sasky80/ado-reviewer/tree/main/.github/skills/approve-with-suggestions commit 06bbd6da0b

Frequently asked questions

npx skillmds@latest add sasky80/approve-with-suggestions