Skip to content

Commit 4897044

Browse files
authored
Don't run validate changelogs task during 'check' tasks (#116028) (#116035)
1 parent bf8eb0b commit 4897044

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ gradle.projectsEvaluated {
408408
}
409409
}
410410

411+
tasks.named("validateChangelogs") {
412+
onlyIf { project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") || it == 'functionalTests' } == false }
413+
}
414+
411415
tasks.named("precommit") {
412416
dependsOn gradle.includedBuild('build-tools').task(':precommit')
413417
dependsOn gradle.includedBuild('build-tools-internal').task(':precommit')

0 commit comments

Comments
 (0)