Skip to content

Commit be416b3

Browse files
committed
ci: prettier output for validate-reqs
1 parent d565817 commit be416b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/validate-reqs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
# Check if requirements.txt was modified in last commit
2525
if git diff --name-only HEAD~1 HEAD | grep -q "^requirements.txt$"; then
2626
if [ "$AUTHOR" != "github-actions[bot]" ]; then
27-
echo "❌ ERROR: You may NOT edit 'requirements.txt'"
28-
echo "To pin dependencies, use 'poetry add <package-name>'."
29-
echo "Please remove your changes to requirements.txt, so robot can maintain it."
27+
echo "::error::You may NOT edit 'requirements.txt'"
28+
echo "::warning::Undo your changes to requirements.txt, so robot can maintain it."
29+
echo "::notice::To pin dependencies, use 'poetry add <package-name>'."
3030
exit 1
3131
fi
3232
fi
3333
34-
echo "✅ SUCCESS: `requirements.txt` not modified unexpectedly"
34+
echo "`requirements.txt` unchanged"

0 commit comments

Comments
 (0)