Skip to content

Instantly share code, notes, and snippets.

View dannf's full-sized avatar

dann frazier dannf

View GitHub Profile
@dannf
dannf / non-interactive-pr.md
Last active March 11, 2025 14:41
Creating a PR non-interactively with the `gh` cli

Creating a PR non-interactively with the gh cli

This seems like it should be straightforward, but I found the documentation confusing.

gh needs to know which project you want to create a PR against. You can set this once in your repository:

gh repo set-default wolfi-dev/os