pr-semver-bump icon indicating copy to clipboard operation
pr-semver-bump copied to clipboard

Ability to use git operations rather than github api

Open benhowes opened this issue 3 years ago • 2 comments

I ideally want to use pushing a new tag as a trigger for a second part of my release code. I can currently do that by using a personal access token, but there is a potential second option outlined here. In short, by creating a deploy key with write access, one can push changes and trigger workflows.

I've explained in a little more detail in my fork of this project https://github.com/Spatial-Quotient/pr-semver-bump#adds-use-ssh-option

Would you consider a PR to add this as an option? I'd love to be able to avoid using a personal access token for my use-case :)

benhowes avatar Feb 05 '22 17:02 benhowes

Both changes make sense to me. @jefflinse, your thoughts?

siggimoo avatar Feb 09 '22 02:02 siggimoo

Supporting the deploy-key scenario is definitely a feature we should incorporate. Thanks for proposing! Feel free to use the implementation in your fork as a starting point for a PR, otherwise I can likely get to this later this week.

Regarding a require-release flag (or similar), I can see how this would be useful, but I'd also like to be a little more comprehensive and allow users to define one or more GitHub tags that can be used to specify a "no-bump" scenario. For example, Documentation, New New Version, etc. I've opened https://github.com/jefflinse/pr-semver-bump/issues/32 to track this separately.

jefflinse avatar Feb 09 '22 06:02 jefflinse