Skip to content

Improve the GitHub actions workflow for releasing #2938

Description

@vaurdan

Describe the bug

After the 3.17 release - the first time using our new workflow - we've identified a few minor issues that should be addressed before the next release:

  • Generated PR has an empty space before the first line of the changelog ( ### Added)
  • Generated PR hasn't a set milesone
  • GitHub action bot not signing commits / PRs (we might need our own bot user for that)
  • When running with dry-run, if the tag already exists it is deleted locally, but when pushing the tag it fails since it already exists on the remote.
  • GitHub release is not published automatically when the zip file is uploaded

Nice to have / Improvements

  • When running the release workflow without dry-run set, it might optionally attempt to remove any old release and tag created by the dry-run execution.
  • When the Update version number and changelog for x.x.x release PR is merged, maybe trigger automatically an action that creates a Release wp-parsely x.x.x PR that merges develop into trunk.
  • After the release, automatically create a Merge trunk into develop after the wp-parsely x.x.x release PR.

Activity

  1. added this to the 3.18.0 milestone on Nov 12, 2024
  2. acicovic commented on Apr 21, 2025

    @acicovic
    Collaborator

    After releasing v3.18, here are my comments:

    • We still have a couple of spaces before ## Added (can be seen here when editing the PR description).
    • I can confirm that the GitHub release is being published as a draft even for non-dry runs, and that you need to go to the release and publish it manually.
  3. added theissue type on May 22, 2025
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

    wp-parselyRequired label for all issues

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions