cocogitto / cocogitto-action

A github action to ensure your current gitlog respect the conventional commit specification
22 stars 17 forks source link

fix: include lightweight tags in check #12

Closed lukehsiao closed 1 year ago

lukehsiao commented 1 year ago

Many repositories use lightweight (non-annotated) tags. This patch eliminates the scary warning that no tags were found, even if there were tags available.

This makes the script match the behavior of cog itself (i.e., git describe --tags --abbrev=0) [1].

Closes: #11 Signed-off-by: Luke Hsiao luke.hsiao@numbersstation.ai


cocogitto-bot[bot] commented 1 year ago

:heavy_check_mark: dfd5afc - Conventional commits check succeeded.

lukehsiao commented 1 year ago

@oknozor any chance we could get this merged and get a new release?

oknozor commented 1 year ago

Sorry for the delay I was off for a few days :)