Skip to content

Release process update #588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
TAG="${{ github.event.inputs.tag }}"

# Create PR from next to main
PR_RESPONSE=$(gh pr create \
PR_URL=$(gh pr create \
--base main \
--head next \
--title "Release ${TAG}" \
Expand All @@ -123,11 +123,9 @@ jobs:
- [ ] Verify the release notes in the draft release
- [ ] Merge this PR after the release is published

Created by the automated release workflow." \
--json number,url)
Created by the automated release workflow.")

PR_NUMBER=$(echo "$PR_RESPONSE" | jq -r '.number')
PR_URL=$(echo "$PR_RESPONSE" | jq -r '.url')
PR_NUMBER=$(echo "$PR_URL" | sed 's|.*/pull/||')

echo "pr-number=${PR_NUMBER}" >> $GITHUB_OUTPUT
echo "pr-url=${PR_URL}" >> $GITHUB_OUTPUT
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/sync-next-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
AHEAD_COUNT="${{ steps.branch-status.outputs.ahead-count }}"

# Create PR from main to next
PR_RESPONSE=$(gh pr create \
PR_URL=$(gh pr create \
--base next \
--head main \
--title "Sync next branch with main" \
Expand All @@ -106,11 +106,10 @@ jobs:
> **Note**: This PR was automatically created by the daily branch sync workflow.
> If you have any concerns about these changes, please review them carefully before merging." \
--label "automated" \
--label "sync" \
--json number,url)
--label "sync")

PR_NUMBER=$(echo "$PR_RESPONSE" | jq -r '.number')
PR_URL=$(echo "$PR_RESPONSE" | jq -r '.url')
# Extract PR number from URL (e.g., https://github.com/owner/repo/pull/123 -> 123)
PR_NUMBER=$(echo "$PR_URL" | sed 's|.*/pull/||')

echo "pr-number=${PR_NUMBER}" >> $GITHUB_OUTPUT
echo "pr-url=${PR_URL}" >> $GITHUB_OUTPUT
Expand Down
Loading