-
Notifications
You must be signed in to change notification settings - Fork 0
feat: reabilita bloqueio de merge para violacoes em codigo alterado #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR re-enables merge blocking for code violations after a monitoring period. The change removes the temporary bypass that was logging violations without blocking, and now actively blocks merges when P1 violations are detected in modified lines.
Key Changes:
- Re-enables the
exit 1command that enforces merge blocking for P1 violations in changed code - Updates user-facing messages to reflect the active blocking state
- Removes temporary monitoring notices
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🏷️ [bumpr] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
🚀 [bumpr] Bumped! |
Impacto
Reabilitado o bloqueio de merge no codenarc-docker após período de monitoramento e validação.
Antes: Exit estava desabilitado temporariamente (# exit 1) apenas logando que "DEVERIA bloquear merge"
Agora: Exit reabilitado (exit 1) efetivamente bloqueando merge quando há P1s em linhas alteradas
Cenários testados
Funcionalidade já validada no PR anterior com 5 cenários de teste. Esta mudança apenas:
✅ Reabilita o exit 1 que estava comentado
✅ Mantém toda lógica de detecção inteligente inalterada
✅ Preserva comentários do reviewdog funcionando normalmente