Skip to content

Conversation

JackPGreen
Copy link

@JackPGreen JackPGreen commented Oct 17, 2025

When update-docs-version ran, it created this PR - #11110:

Update docs version to ${GITHUB_REF##*/}

The branch name was not expanded in the PR description, it uses Bash syntax not applicable outside of a run block.

Fixed by replacing Bash expansion to derive the branch name with the actual branch name.

Tested in my fork:

When `update-docs-version` ran, it created this PR - testcontainers#11110:
> Update docs version to ${GITHUB_REF##*/}
Update docs version to ${GITHUB_REF##*/}

The branch name was not expanded in the PR description, it uses Bash syntax not applicable outside of a `run` block

Fixed by replacing Bash expansion to derive the branch name with the _actual_ branch name.
@JackPGreen JackPGreen requested a review from a team as a code owner October 17, 2025 10:40
@github-actions github-actions bot added the github_actions Pull requests that update Github_actions code label Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant