Skip to content

Commit

Permalink
Don't run validate changelogs task during 'check' tasks (elastic#116028
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira authored Oct 31, 2024
1 parent bf8eb0b commit 4897044
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ gradle.projectsEvaluated {
}
}

tasks.named("validateChangelogs") {
onlyIf { project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") || it == 'functionalTests' } == false }
}

tasks.named("precommit") {
dependsOn gradle.includedBuild('build-tools').task(':precommit')
dependsOn gradle.includedBuild('build-tools-internal').task(':precommit')
Expand Down

0 comments on commit 4897044

Please sign in to comment.