Similar commit hashes detected when creating tags #1393
-
Hi there! I am having some issues using This job fails with the following error message
We tag using the GitHub web browser which I believe doesn't create a new commit for the tag so this error does make some sort of sense. Namely the actions triggered by tagging have the same commit hash as the last commit to main. (At least from my current understanding, please correct me if I am wrong :) ) I have also tried using the GitHub CLI to create and push annotated tags, but that resulted in the same error. Which should in theory create a new commit for the tag. My question is two-fold.
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @matt-ryley-Quant, you'll have to provide some more information by creating an Issue here. Please include your workflow file with the checkout action and tj-actions/changed-files portions, if possible re-run the workflow with debug enabled and attach the logs. You can also take a look at an example workflow that runs on either on release created event or tag push here. |
Beta Was this translation helpful? Give feedback.
-
Closing this pending further information. |
Beta Was this translation helpful? Give feedback.
Hi @matt-ryley-Quant, you'll have to provide some more information by creating an Issue here. Please include your workflow file with the checkout action and tj-actions/changed-files portions, if possible re-run the workflow with debug enabled and attach the logs.
You can also take a look at an example workflow that runs on either on release created event or tag push here.