Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 6cc69b1

Browse files
committed
ci: fix pr sync
1 parent 79d24c7 commit 6cc69b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ jobs:
6565
echo "Main is already up to date with stable; skipping PR."
6666
exit 0
6767
fi
68-
pr_number=$(gh pr create --base main --head stable --title "chore: sync stable release to main" --body "Automated PR to merge the latest stable changes back into main." --json number --jq '.number')
68+
pr_url=$(gh pr create --base main --head stable --title "chore: sync stable release to main" --body "Automated PR to merge the latest stable changes back into main.")
69+
pr_number=$(echo "$pr_url" | grep -oE '[0-9]+$')
6970
echo "Created PR #$pr_number to sync stable into main."
7071
else
7172
echo "PR #$pr_number already open to sync stable into main."

0 commit comments

Comments
 (0)