im-open / post-status-to-teams-action

A GitHub Action for posting a workflow's status update to Microsoft Teams
MIT License
0 stars 0 forks source link

TW-64305: Create Major version tag on merge #16

Closed bradyclifford closed 1 year ago

bradyclifford commented 1 year ago

First review requested with the Infra Purple team originated in ITHD-204625. Since then the ownership of this repo has changed to the BC Swat team. This work is now recorded in TW-64305 and listed on their team's board.

Summary of PR changes

Allow the creation of a major tag adjacent to the normal major + minor + patch release creation.

This allows downstream workflows to reference the major version instead of the specific minor + patch. Doing so will reduce dependabot alerts and unnecessary PRs to get the latest minor versions.

This is similar to the same pattern used with GitHub Actions. https://github.com/actions/toolkit/blob/main/docs/action-versioning.md#recommendations

As an example, release v1.2.3 is created with an accompanying v1 tag. Downstream consumers of this repo can reference v1 instead of v1.2.3.

PR Requirements

NOTE: If the repo's workflow could not automatically update the README.md, it should be updated manually with the next version. For javascript actions, if the repo's workflow could not automatically recompile the action it should also be updated manually as part of the PR.