Skip to content

feat(pr-create): auto-detect source branch, add --reviewers and --work-item - #17

Merged
jonas1307 merged 1 commit into
mainfrom
feat/pr-create-enhancements
Jul 23, 2026
Merged

feat(pr-create): auto-detect source branch, add --reviewers and --work-item#17
jonas1307 merged 1 commit into
mainfrom
feat/pr-create-enhancements

Conversation

@jonas1307

Copy link
Copy Markdown
Owner

pr-create: auto-detect source branch, add reviewers and work-item linking

Enhances pr-create with three improvements:

  • Automatic source branch--source is now optional. When omitted, the source branch is detected from the current git branch (reads .git/HEAD, searching from the working directory upward).
  • --reviewers — adds reviewers to the new PR. Accepts me (current user), a reviewer GUID, or an email / display name resolved through the Identities API (on the vssps host).
  • --work-item / -w — links existing work items to the new PR via an ArtifactLink relation.

README updated with the new options and examples.

@jonas1307
jonas1307 merged commit e15e03b into main Jul 23, 2026
1 check passed
@jonas1307
jonas1307 deleted the feat/pr-create-enhancements branch July 23, 2026 22:29
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.

1 participant