lightweight tags create no "create event" in github actions
See original GitHub issueDescription
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
- commitizen version: master
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to run GitHub Actions Workflow only for new tags #25302
I have a Workflow that I only want to run when a new tag is pushed to the repository. I have set the...
Read more >Marketplace Actions Git Tag Generator - GitHub
Generate and push SemVer formatted git tag on push/merge with specified commit message. ... Note: This action creates a lightweight tag.
Read more >Marketplace Actions Github Tag Bump
Note: This action creates a lightweight tag. Bumping. Manual Bumping: Any commit message that includes #major , #minor , #patch ...
Read more >Git tags - GitHub Enterprise Server 3.3 Docs
Use the REST API to interact with tag objects in your Git database on GitHub ... If you want to create a lightweight...
Read more >Github release should create annotated (not lightweight) tags
@ssbarnea commented on Feb 9: At this moment creating a release (tag) using releases page does only create a lightweight git tag, which...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
secrets.GITHUB_TOKEN
won’t trigger another workflow. It’s like using[skip ci]
in other CI’s.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: https://github.community/t/action-does-not-trigger-another-on-push-tag-action/17148/2
Note: for some reason your
PERSONAL_TOKEN
must be provided to thecheckout
step 🤷♂️I think in our case (commitizen) that’s why it was failing. Now we are waiting for next release 🤞 hahahha
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 💪