828 B
828 B
description, argument-hint
| description | argument-hint | |
|---|---|---|
| Create a pull request from the current branch. |
|
Variables
TARGET_BRANCH: $1 (defaults to main)
SOURCE_BRANCH: current branch (git branch --show-current)
Workflow
- Ensure
/reviewand/security-scanhave passed locally. - Confirm
ci-quality-gateworkflow succeeded forSOURCE_BRANCH. - Create the PR using GitHub CLI:
If no template exists, provide a summary referencing Context, Testing, and Security results.
gh pr create \ --base "$TARGET_BRANCH" \ --head "$SOURCE_BRANCH" \ --title "<Conventional PR title>" \ --body-file .github/pull_request_template.md - Add labels (
gh pr edit --add-label "status: in-review"). - Share the PR link with reviewers and ensure at least one human approval is obtained.