ci(sonar): don't cancel superseded runs on main, so coverage is published (#1231)

This commit is contained in:
Dylan M. Taylor
2026-10-23 17:01:52 -04:00
committed by GitHub
parent 17ed21d128
commit a4f25b0733
+2 -1
View File
@@ -11,7 +11,8 @@ permissions:
concurrency: concurrency:
group: sonarcloud-${{ github.ref }} group: sonarcloud-${{ github.ref }}
cancel-in-progress: true # A push to main is the run that publishes coverage; superseded runs there would never finish.
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs: jobs:
sonarcloud: sonarcloud: