-
-
Notifications
You must be signed in to change notification settings - Fork 281
lightweight tags create no "create event" in github actions #271
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
Comments
Enable creation of annotated tags when bumping.
Enable creation of annotated tags when bumping.
Enable creation of annotated tags when bumping.
Enable creation of annotated tags when bumping.
thanks for the finding! some questions, how did you find this problem? could you point the GA documentation where they mention lightweight tag don't create events? I couldn't find it. I'll run some tests in to verify it as well 💪 |
I have no documentation at hand. But as far as I know, lightweight tags are not "real" objects in git and have also no creation date. You can see this via |
We use the following syntax to detect release which might be the reason why we did not encounter such problem. on:
push:
tags:
- 'v*' But I think it's a feature we could have. Thanks for great work 🙂 I'll also run some test to verify it. |
@Lee-W I do not really understand how this is working for you:
The job appears to work fine:
I also have a debug workflow:
but this gets never triggered after the "tag" is "pushed" via the bump-version job. |
You have to use a personal token like here: https://github.com/commitizen-tools/commitizen/blob/master/.github/workflows/bumpversion.yml I asked the same in the github action discussion board: Note: for some reason your I think in our case (commitizen) that's why it was failing. Now we are waiting for next release 🤞 hahahha |
Enable creation of annotated tags when bumping.
@woile this explains a lot... |
Yeah I lost a few hairs dealing with it. The documentation explains how to add a PERSONAL TOKEN, I think we should mention why though. https://commitizen-tools.github.io/commitizen/tutorials/github_actions/ |
Enable creation of annotated tags when bumping.
Enable creation of annotated tags when bumping.
Enable creation of annotated tags when bumping.
Description
Commitizen creates only lightweight tags, which are not creating a "create event" in github actions.
Steps to reproduce
https://github.com/commitizen-tools/commitizen/blob/master/commitizen/git.py#L49
Current behavior
A lightweight tag created by commitizen does not lead to a usefull event in github actions.
Desired behavior
Create an annotated tag, e.g.
git tag -a <version> -m <version>
. This should be at least a configurable option IMHO.Environment
The text was updated successfully, but these errors were encountered: