Skip to content

Commit e69485d

Browse files
committed
fix(open-bump-prs): pass --repo and --head to gh pr create
1 parent 2b3f6eb commit e69485d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.crystal-governance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
schema: crystal-governance-pin/v1
2-
governance_version: v1.2.5
2+
governance_version: v1.2.6
33
source: Malakof/.github
44
# Self-pin: Malakof/.github references its own current version.
55
# Lets tooling (sync, governance-check) treat this repo like any other

scripts/open-bump-prs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def open_bump_pr(repo: str, new_version: str, dry_run: bool) -> dict[str, str]:
121121
subprocess.run(
122122
[
123123
"gh", "pr", "create",
124+
"--repo", repo,
125+
"--head", branch,
124126
"--title", f"chore: bump governance to {new_version}",
125127
"--body", f"Auto-generated PR. Bumps `.crystal-governance.yaml` to `{new_version}`.\n\nReleased from Malakof/.github.",
126128
"--label", "type:chore",

0 commit comments

Comments
 (0)