Skip to content

fix: push release branch for docs-only promotions#64

Merged
Its-donkey merged 3 commits intotestfrom
fix/docs-only-push-branch
Jan 30, 2026
Merged

fix: push release branch for docs-only promotions#64
Its-donkey merged 3 commits intotestfrom
fix/docs-only-push-branch

Conversation

@Its-donkey
Copy link
Owner

@Its-donkey Its-donkey commented Jan 30, 2026

Summary

Fixes the docs-only promotion workflow failure where the PR creation step fails with:

No commits between main and release/docs-20260130-...

When docs_only is true, the CHANGELOG update step is skipped, which means the release branch is never pushed to the remote. This causes GitHub to fail when creating the PR.

Added a step to push the release branch when docs_only is true.

Test plan

  • Run the release-promotion workflow with docs_only: true to verify the PR is created successfully

Its-donkey and others added 3 commits January 30, 2026 19:48
When docs_only is true, the CHANGELOG update step is skipped which
means the release branch is never pushed to the remote. This causes
the PR creation to fail with "No commits between main and release/..."

Add a step to push the release branch when docs_only is true.
Changed update-results job to:
- Run on pull_request events instead of push to test
- Checkout the PR's head branch
- Commit test results directly to the PR branch

This avoids creating separate PRs for test results updates.
@Its-donkey Its-donkey merged commit 280d34f into test Jan 30, 2026
@Its-donkey Its-donkey deleted the fix/docs-only-push-branch branch January 30, 2026 08:53
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