-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a GH workflow example, when PR merge registers a version / assigns a stage #277
Comments
Just noticed this issue/ suggestion - this would be something that I would be quite interesting in! For the Github Action that has been set up:
The error that I get is:
I have tried replacing this gto register step with |
did |
Sorry, I meant I replaced it with
which does add the tag as expected |
Could you please try to run it with is there a small repo example, that I could fork to reproduce it? |
I've added I've create a dummy repo: https://github.com/quandanrepo/PR-Merge-Register |
@quandanrepo thanks! I think I understand the core issue here. It's the same as described here iterative/scmrepo#262 . The workaround is avoid pushing on the Until #405 is solved in some way, you could ignore the error from the gto command and run git manually. Could you please try and let me know if that works as a workaround for now? |
Thanks for the additional information and suggestion! |
Some users may want to register new version / assign a stage to a specific artifact when PR is merged. This could be achieved by creating a GH workflow that does this. Few questions:
minor
,major
,patch
). What if there are multiple artifacts to register/assign stages to?gto-example
repo?The text was updated successfully, but these errors were encountered: