fregante/daily-version-action

Avoid releasing version on certain commits

Open

#16 aberto em 16 de jan. de 2021

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (5 forks)github user discovery
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (22 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Some commits don't need to be released as their own version, so there could be a way to ignore them. For example this can be done via ignore an option that excludes commits based on their title (like this other action) or simply by detecting [norelease] in the commit description

Current logic:

if HEAD is tagged
	exit

Desired logic:

commit = HEAD
while commit is ignored
	commit = commit.parent

if commit is tagged
	exit

Guia do colaborador