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

@JackPGreen

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.