We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2f78a7 commit c46fa73Copy full SHA for c46fa73
1 file changed
.github/workflows/main.yml
@@ -267,8 +267,12 @@ jobs:
267
268
# Check if increase is more than 5%
269
if (( $(echo "$INCREASE > 5" | bc -l) )); then
270
- echo "❌ ERROR: $artifact size increased by ${INCREASE}% (limit: 5%)"
271
- FAILED=1
+ if [ "$GITHUB_EVENT_NAME" = "workflow_dispatch" ]; then
+ echo "⚠️ WARNING: $artifact size increased by ${INCREASE}% (limit: 5%)"
272
+ else
273
+ echo "❌ ERROR: $artifact size increased by ${INCREASE}% (limit: 5%)"
274
+ FAILED=1
275
+ fi
276
fi
277
done
278
0 commit comments