Skip to content

Instantly share code, notes, and snippets.

View mboisvertdupras's full-sized avatar

Marc Boisvert-Dupras mboisvertdupras

View GitHub Profile
@mboisvertdupras
mboisvertdupras / create_pr.sh
Created September 13, 2024 22:22 — forked from slavingia/create_pr.sh
Create a (draft) pull request using GitHub CLI
#!/bin/bash
# Create a (draft) pull request using GitHub CLI.
# It assigns the PR to the current user, fills in the title from the first commit,
# and uses the PR template file for the description.
set -euo pipefail
# Colors for output
RED='\033[0;31m'