Skip to content

Commit fa2496b

Browse files
authored
MINOR: skip ci-complete on 4.0 (#20644)
Since that 4.0 branch does not include [KAFKA-18748](https://issues.apache.org/jira/browse/KAFKA-18748), it is unable to find the related scan reports, but the ci-complete workflow is still being triggered on the 4.0 branch. Disable this on the 4.0 branch, as its reports can be safely ignored. See #20616 (comment). Reviewers: Chia-Ping Tsai <[email protected]>
1 parent c6bbbbe commit fa2496b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-complete.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ run-name: Build Scans for ${{ github.event.workflow_run.display_title}}
3838
jobs:
3939
upload-build-scan:
4040
# Skip this workflow if the CI run was skipped or cancelled
41-
if: (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure')
41+
if: (github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure') && github.event.workflow_run.head_branch != '4.0'
4242
runs-on: ubuntu-latest
4343
strategy:
4444
fail-fast: false

0 commit comments

Comments
 (0)