Create a pull request
Create a draft PR against main.
Commits on this branch:
!git log main..HEAD --oneline 2>/dev/null
gh) must be installed and authenticated.gh is installed by running which gh. If it is not found, stop and tell the user to install it.git diff main...HEAD to understand all changes.gh pr create --draft --base main using the
template below. Fill in every section:gh pr edit --add-label:
[Type] Bug — Not functioning as intended.[Type] Feature — Adding a new feature.[Type] Enhancement — Improve an existing feature.[Type] Tech Debt — Involving upgrades or refactoring to maintain or enhance the codebase.[Type] Tooling — Related to the Gradle build scripts and the setup or maintenance of the project build process.[Type] Core — Core infrastructure changes.[Type] Other — Issues not covered by other types, such as refactoring and documentation.[Area] label that matches the changes. Run gh label list --search "[Area]" to find the best match, then apply with gh pr edit --add-label.gh api repos/Automattic/pocket-casts-android/milestones --jq '[.[] | select(.due_on) | select((.due_on | fromdateiso8601) >= now)] | sort_by(.due_on) | .[0].title' to find it, then apply with gh pr edit --milestone.![[.github/pull_request_template.md]]