Skip to content

docs: document PR base-branch pitfall for forked template projects - #111

Merged
jhnns merged 1 commit into
mainfrom
add-leitstand-section-agents-md
Aug 8, 2026
Merged

docs: document PR base-branch pitfall for forked template projects#111
jhnns merged 1 commit into
mainfrom
add-leitstand-section-agents-md

Conversation

@jhnns

@jhnns jhnns commented Aug 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Add an "Opening pull requests" section to AGENTS.md explaining that downstream forks of peerigon/template default new PRs to the upstream repo (via gh or the GitHub web UI), which breaks fork-specific checks like CODEOWNERS and rulesets.
  • Documents the fix: run gh repo set-default <owner>/<repo> once per clone, or pass --repo <owner>/<repo> explicitly.

Adapted from peerigon/leitstand#34bc583, generalized since this repo is the template itself rather than a fork.

Test plan

  • Reviewed rendered Markdown for formatting

Downstream forks of peerigon/template default new PRs to the upstream
repo, which fails fork-specific checks like CODEOWNERS and rulesets.
@jhnns
jhnns merged commit 8736ca0 into main Aug 8, 2026
2 checks passed
@jhnns
jhnns deleted the add-leitstand-section-agents-md branch August 8, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant