Fix GitHub-Action Generate PR descriptions by JackPGreen · Pull Request #11129 · testcontainers/testcontainers-java (original) (raw)

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: