Skip to content

Improve the GitHub actions workflow for releasing #2938

@vaurdan

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.

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