We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b2eae commit c6262e1Copy full SHA for c6262e1
fastlane/Fastfile
@@ -846,6 +846,14 @@ lane :validate_public_interface do
846
header = '## Public Interface'
847
content = "#{header}\n#{diff}"
848
849
+ # Truncate content to 65,000 characters if it exceeds the limit
850
+ max_length = 65_000
851
+ if content.length > max_length
852
+ truncated_content = content[0, max_length - 100] # Leave room for truncation message
853
+ truncated_content += "\n\n... (content truncated due to length limit of #{max_length} characters)"
854
+ content = truncated_content
855
+ end
856
+
857
# Post PR comment if running in CI
858
pr_comment(text: content, edit_last_comment_with_text: header) if is_ci
859
0 commit comments