Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion entrypoint.sh
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. SC2086

$includes_arg \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting. SC2086

${INPUT_REVIEWDOG_FLAGS}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shellcheck (suggestion)] reported by reviewdog 🐶

$includes_arg \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shellcheck (suggestion)] reported by reviewdog 🐶

${INPUT_REVIEWDOG_FLAGS}

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ check_blocking_rules() {
if [ "$p1_count" -gt 0 ]; then
echo "⛔ Foram encontradas violacoes bloqueantes (priority 1)."
echo "💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador."
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing exit 1 for blocking violations defeats the purpose of having 'bloqueantes' (blocking) rules. The script will now proceed despite critical priority 1 violations, which contradicts the warning message that instructs users to fix violations or use an authorized bypass. Consider implementing proper bypass logic instead of removing the exit altogether.

Suggested change
echo "💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador."
echo "💡 Corrija as violacoes ou use o bypass autorizado pelo coordenador."
if [ "${BYPASS_BLOQUEANTES}" != "true" ]; then
echo "❌ Falha: Violacoes bloqueantes encontradas. Interrompendo o processo."
exit 1
else
echo "⚠️ Bypass autorizado: continuando apesar das violacoes bloqueantes."
fi

Copilot uses AI. Check for mistakes.
exit 1
else
echo "✅ Nenhuma violacao bloqueante (priority 1) encontrada."
fi
Expand Down
Loading