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 8bd4e6dCopy full SHA for 8bd4e6d
fastlane/Fastfile
@@ -845,6 +845,14 @@ lane :validate_public_interface do
845
# Generate markdown table for the PR comment
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 = 65000
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
0 commit comments