feat(skills): develop-first base branch detection in create-pr#19
Merged
Conversation
Regenerated plugin-copilot/ to reflect feat(skills) from #17: - workflow-create-pr/SKILL.md now includes Azure DevOps support Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add Step 1 to detect if 'develop' exists on remote before PR creation - Store result as \ (develop or main) and use in all commands - Apply \ to git log, gh pr create, and az repos pr create - Renumber steps 1-9 to accommodate new detection step - Update quality checklist with base branch resolution check Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
develop-first base branch resolution to thecreate-prskilldevelopexists on the remote, all PR creation commands target it instead ofmaingh pr create --base) and Azure DevOps (az repos pr create --target-branch)Key Changes
git ls-remote --heads origin developbefore any analysis\variable used ingit log,gh pr create, andaz repos pr createWhat's Changed
Skill: workflow-create-pr
Added develop-first base branch detection as the first step of the PR creation process. The skill now checks if
developexists on the remote and stores the result in\, which is then used in every command that references a base/target branch.Plugin artifact
plugin-copilot/skills/workflow-create-pr/SKILL.mdupdated to match (generated from source).Files Changed
workflow-create-pr/SKILL.mdsource + plugin-copilot artifact.github/sdd/.detected-stack.mdtimestamp bumpTest Plan
/create-pron a repo that has adevelopbranch — PR targetsdevelop/create-pron a repo with onlymain— PR targetsmaingit log origin/\..HEADworks in both scenarios--target-branch \resolves correctlyBreaking Changes
None
Related Items
None
Generated with GitHub Copilot