Add possibility to skip creating duplicate tag
Hi,
It would be great to add an option of skipping tag creation if the same already exists. It could help in situations when using automatic semantic versioning and only minor change occurs (e.g. in readme), so the app version doesn't really change, thus instead of failing the job, the step would just finish successfully skipping duplicate tag creation.
Thank you.
In the described situation, you can just ignore triggering builds when only text/doc files have been updated. Please take a look at https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#example-ignoring-paths.
But I'll still take a look if this can be done. It shouldn't hurt anyone. :)
Thanks for that :)
As for the provided link, I know about that possibility, though it doesn't fully covers my workflow, e.g. I would want to trigger build in case of changes in tests, but I still wouldn't want to bump the version in the case. There's an option to avoid that by creating separate workflow files, but as they would mostly be the same, I'd like to avoid that.