Skip to content

up.yml opens pull requests titled "New version in README", because env.version is never set #9349

Closed

Description

@morphqdd

.github/workflows/up.yml computes the tag in a shell variable and never exports it to the job environment:

latest=$(git tag --sort=creatordate | tail -1) && \
export latest && \
sed -E -i "s/<version>[^<]+/<version>${latest}/g" eo-maven-plugin/README.md

The next step then reads a variable with a different name, which nothing defines (lines 33 and 35):

commit-message: 'new version ${{ env.version }} in README'
title: 'New version ${{ env.version }} in README'

So every pull request and commit made by this workflow has an empty version, for example #9082, #8310, #7839, #6185, #5275: all titled New version in README, with two spaces. The reviewer has to open the diff to see which version it bumps to.

It should write the tag to GITHUB_ENV (or a step output) under the name the next step reads, so the title says New version 0.63.2 in README.

Activity

  1. added a commit that references this issue on Oct 15, 2026
  2. github-actions commented on Oct 22, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  3. locked as resolved and limited conversation to collaborators on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions