Commit 0deb6c0
fix: trigger SonarCloud after release and remove redundant main push … (#1011)
## User-Facing Changes
N/A
## Description
After a release, the SonarCloud analysis on `main` was showing an
outdated project version and stale code coverage because:
1. The `release.yml` commit uses `[skip actions]`, which skips all
workflows — including SonarCloud
2. The previous push-triggered Sonar analysis ran on the merge commit
(before the version bump), so it always reported the old version
This PR fixes the issue by:
- **Adding a step in `release.yml`** to explicitly trigger the
SonarCloud workflow on `main` via `gh workflow run` after the release is
complete — ensuring analysis runs with the correct version
- **Removing `main` from the push trigger in `sonarqube.yml`** to avoid
a redundant (and outdated) Sonar run on every merge to `main`
Related to #1009
## Checklist
- [x] The web version was tested and it is running ok
- [x] The desktop version was tested and it is running ok
- [ ] This change is covered by unit tests
- [x] Files constants.ts, types.ts and *.style.ts have been checked and
relevant code snippets have been relocated
Co-authored-by: Bezerra Luiz, (Luiz.Bezerra@ctw.bmwgroup.com) <198787532+luiz-bezerra-ctw-bmwgroup-com_QCOM@users.noreply.github.com>1 parent 0ffeb6a commit 0deb6c0
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments