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

This commit is contained in:
Dylan M. Taylor
2026-10-23 16:51:48 -04:00
parent c787f4f080
commit 4b6ff7d324
+2 -1
View File
@@ -11,7 +11,8 @@ permissions:
concurrency:
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:
sonarcloud: