Skip to content

Commit

Permalink
Fix mergeDiktatReports (#1812)
Browse files Browse the repository at this point in the history
- mustRunAfter instead of dependsOn to allow run `mergeDiktatReports` after failing diktatCheck
  • Loading branch information
nulls authored Nov 21, 2023
1 parent 15d2ad4 commit 26bc29d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ internal fun Project.configureMergeReportsTask() {

rootMergeSarifReportsTask.configure { reportMergeTask ->
reportMergeTask.input.from(getGitHubActionReporterOutput())
reportMergeTask.dependsOn(diktatCheckTask)
reportMergeTask.mustRunAfter(diktatCheckTask)
}
diktatCheckTask.configure {
it.finalizedBy(rootMergeSarifReportsTask)
Expand Down

0 comments on commit 26bc29d

Please sign in to comment.