Skip to content

Commit b280e94

Browse files
authored
Don't run validate changelogs task during 'check' tasks (#116028)
1 parent 50b9e4e commit b280e94

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
@@ -409,6 +409,10 @@ gradle.projectsEvaluated {
409409
}
410410
}
411411

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

0 commit comments

Comments
 (0)