Skip to content

Commit ed7e5f6

Browse files
authored
Merge pull request #20220 from wordpress-mobile/make_dependency_diff_foldable
tools: make dependency diff report foldable
2 parents 40ece18 + 1ef90d7 commit ed7e5f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WordPress/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,12 +640,16 @@ tasks.register("dependencyTreeDiffCommentToGitHub", ViolationCommentsToGitHubTas
640640
commentOnlyChangedFiles = false
641641
minSeverity = SEVERITY.INFO
642642
commentTemplate = """
643-
### The PR caused the following dependency changes:
643+
<details><summary>The PR caused some dependency changes (expand to see details)</summary>
644+
<p>
644645
645646
```diff
646647
{{{violation.message}}}
647648
```
648649
650+
</p>
651+
</details>
652+
649653
*Please review and act accordingly*
650654
"""
651655
violations = [

0 commit comments

Comments
 (0)