Open Pull Request Using GitHub CLI

Open a Pull Request on GitHub using the GH cli

$0.00

About the Recipe

Open Pull Request Using GitHub CLI

Free RecipeWorkflow Enhancement


What This Recipe Does

Automatically creates a pull request using the GitHub CLI after your feature is complete. This recipe integrates seamlessly into your development workflow, opening a PR with proper formatting and issue linking.

Key Features

  • Interactive PR Creation: Guides you through title and issue linking
  • Automatic Issue Resolution: Links issues that will be closed when merged
  • Smart Defaults: Pre-filled title with conventional commit format
  • Self-Assignment: Automatically assigns the PR to you
  • Built-in Validation: Ensures GitHub CLI is available and validates inputs

How It Works

When added to your order, this recipe will:

  1. Prompt for Issues: Ask if you want to link any issues to the PR
  2. Collect Issue Numbers: Validate and collect multiple issue numbers
  3. Get PR Title: Prompt for the pull request title with smart defaults
  4. Generate PR Body: Automatically create body with issue resolution statements
  5. Create PR: Execute the GitHub CLI command to create the pull request

Requirements

  • GitHub CLI (gh) installed and authenticated

Recipe Details

  • Category: Bread Bowl (Workflow Tools)
  • Chef: Artisan Build
  • Price: FREE
  • Tags: Workflow
  • Dependencies: None

Example Workflow

Are there any issues that should be closed when this PR is merged? (Y/n) y
What is the issue number? 123
What is the next issue number? 456
What is the next issue number? [Leave blank to continue]

What is the title of the PR? [ FEAT ] Add new authentication system

Opening Pull Request Using GitHub CLI
✓ Pull request #789 created successfully

Part of the Artisan Build Chef collection - Making Laravel development faster and more enjoyable.

Reviews

124 ratings

Recipe Details

  • Category: Bread Bowl
  • Last updated: 19 June 2025

Requires

[]

Not Compatible With

[]

Goes Well With

We don't have any pairings for this recipe yet.

© 2025 Artisan Build. Crafted with 🧄, 🧅, and ❤️.
Home | Experience | Menu | Catering | Privacy Policy | Login