Skip to content

Commit 5518824

Browse files
author
Ryan Carlo Negretti Pereira
authored
Merge pull request RyanCNP#89 from RyanCNP/develop
Develop
2 parents f83399e + e94675d commit 5518824

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/email-templates/failure-pipeline.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h2>Olá, equipe!</h2>
143143
<div class="info-box">
144144
<h3>Detalhes da Execução:</h3>
145145
<ul>
146-
<li><strong>Workflow:</strong> CI/CD - develop</li>
146+
<li><strong>Workflow:</strong> CI/CD - {{branch}}</li>
147147
<li><strong>Status:</strong> Falha ❌</li>
148148
<li><strong>Data:</strong> {{data}}</li>
149149
<li><strong>Commit:</strong> {{commit}}</li>

.github/workflows/develop-actions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
2424
echo "Mensagem detectada: $MSG"
2525
26-
if [[ ! "$MSG" =~ ^(feat|feat!|chore|fix|refactor)(\(.+\))?: ]]; then
26+
if [[ ! "$MSG" =~ ^(feat|feat!|chore|fix|refactor|docs)(\(.+\))?:|^Merge|^Revert ]]; then
2727
echo "❌ Mensagem de commit inválida!"
28-
echo "Use um dos formatos: feat:, feat!:, chore:, fix:, refactor:"
28+
echo "Use um dos formatos: feat:, feat!:, chore:, fix:, refactor:, docs:"
2929
exit 1
30-
fi
30+
fi
3131
32-
echo "✔ Mensagem válida."
32+
echo "✔ Mensagem válida."
3333
3434
# --- Instalação de dependências ---
3535
- name: Dependências

.github/workflows/main-actions.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
2424
echo "Mensagem detectada: $MSG"
2525
26-
if [[ ! "$MSG" =~ ^(feat|feat!|chore|fix|refactor)(\(.+\))?: ]]; then
26+
if [[ ! "$MSG" =~ ^(feat|feat!|chore|fix|refactor|docs)(\(.+\))?:|^Merge|^Revert ]]; then
2727
echo "❌ Mensagem de commit inválida!"
28-
echo "Use um dos formatos: feat:, feat!:, chore:, fix:, refactor:"
28+
echo "Use um dos formatos: feat:, feat!:, chore:, fix:, refactor:, docs:"
2929
exit 1
30-
fi
30+
fi
31+
32+
echo "✔ Mensagem válida."
3133
32-
echo "✔ Mensagem válida."
3334
3435
# --- Instalar dependências ---
3536
- name: Instalar dependências

0 commit comments

Comments
 (0)