Skip to content

ci: set base branch for initializr version bump PR workflow#4578

Merged
shai-almog merged 1 commit intomasterfrom
codex/fix-initializr-version-update-issue
Feb 27, 2026
Merged

ci: set base branch for initializr version bump PR workflow#4578
shai-almog merged 1 commit intomasterfrom
codex/fix-initializr-version-update-issue

Conversation

@shai-almog
Copy link
Collaborator

Motivation

  • The peter-evans/create-pull-request action fails when the workflow runs from a detached HEAD (tag/release), so an explicit base branch is required to create the PR reliably.

Description

  • Add base: ${{ github.event.repository.default_branch }} to the peter-evans/create-pull-request@v6 inputs in .github/workflows/initializr-cn1-version-pr.yml to ensure the PR targets the repository default branch when triggered from tags/releases.

Testing

  • Ran git diff --check which succeeded and confirmed the base input is present in .github/workflows/initializr-cn1-version-pr.yml.

Codex Task

@shai-almog shai-almog merged commit d42bb5f into master Feb 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant