File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,13 @@ check_blocking_rules() {
3838
3939 echo " 📊 Resumo CodeNarc → priority 1=${p1_count} "
4040
41- block_on_violation=$( echo " ${INPUT_BLOCK_ON_VIOLATION} " | tr ' [:upper:]' ' [:lower:]' | xargs)
42-
43- if [ " $block_on_violation " = " true" ] && [ " $p1_count " -gt 0 ]; then
41+ if [ " $p1_count " -gt 0 ]; then
4442 echo " ⛔ Foram encontradas violacoes bloqueantes (priority 1)."
4543 echo " 💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador."
4644 exit 1
45+ else
46+ echo " ✅ Nenhuma violacao bloqueante (priority 1) encontrada."
4747 fi
48-
49- echo " ✅ Nenhuma violacao bloqueante (priority 1) encontrada ou flag de bloqueio desativada (block_on_violation=false)."
5048}
5149
5250if [ -n " ${GITHUB_WORKSPACE} " ]; then
You can’t perform that action at this time.
0 commit comments