microsoft / PR-Metrics

A GitHub Action & Azure Pipelines task for augmenting pull request titles to let reviewers quickly determine PR size and test coverage.
https://github.com/microsoft/Omex
MIT License
58 stars 12 forks source link

Option to skip PR title changes #422

Closed houserx-jmcc closed 1 year ago

houserx-jmcc commented 1 year ago

Summary

An input option to not alter a pull request's title would be really helpful.

Rationale

In the scenario where you are squashing merge commits, the additional prefix on the pull request makes it difficult to apply standard semver parsing to get versioning for a set of commits. I've encountered difficult with this when using GitHub Actions (https://github.com/ietf-tools/semver-action) as well as trying to create regex for GitHub branch rulesets. Making this feature something that can be toggled should be relatively easy.

Additional Information

muiriswoulfe commented 1 year ago

Hi @houserx-jmcc, thanks for using PR Metrics and for your input on this.

I understand the rationale behind your request, but unfortunately, we don't have the capacity to take this on at the current time. If you wish to work on this, I would be happy to support you.

Alternatively, we can look to add this at a later stage, although I doubt there will be capacity to deal with this before year-end.

houserx-jmcc commented 1 year ago

Thanks for the response! If I can find time I will make a PR for it.

houserx-jmcc commented 1 year ago

Planning on trying to get something up on this for Hacktoberfest 🚀

muiriswoulfe commented 1 year ago

Closing this issue as there hasn't been progress on this in some time. I'm still happy to support this being added, so we can reopen this if necessary.