Commit 19c7624
fix(ci): remove the unrunnable SonarCloud step breaking Governance + CodeQL
`SonarSource/sonarqube-scan-action@master` was appended to four workflows by
a sweep. The root copy is live and breaks CI two different ways:
- governance / Workflow security linter
ERROR: Found unpinned actions:
.github/workflows/codeql.yml:58: uses: SonarSource/sonarqube-scan-action@master
- CodeQL Security Analysis
##[error]The action sonarsource/sonarqube-scan-action@master is not
allowed in hyperpolymath/maa-framework because all actions must be
pinned to a full-length commit SHA.
The second is a *startup* rejection by the org ruleset, so the analyze job
died with zero steps — no lint-shaped error, and no check run to inspect.
Removed rather than pinned, because pinning alone cannot make it work:
- no `SONAR_TOKEN` secret exists on this repo (verified via `gh secret list`)
- no sonar-project.properties / sonar config anywhere in the tree
- the step carries no `with:` or `env:`, so it has no project key or org
- it was appended *inside the CodeQL matrix job*, so it would run once per
language, and in two files it was jammed between a step and the next job
key with no blank line
Pinning it would have swapped a pin error for an auth error and left main red.
Also removes the three copies under aletheia/ — those workflows are inert
(Actions reads .github/workflows/ at the repo root only), but leaving them
would re-introduce the defect the moment anyone promotes one to the root.
Restores the trailing newlines the sweep dropped.
To adopt SonarCloud properly later: one root workflow only, pinned to a SHA,
with SONAR_TOKEN wired and a sonar-project.properties committed.
Verified: all four files parse (`yq`); job keys intact (test/security/coverage,
check/test/build/self-verify); both governance linter checks pass locally.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 7b6a293 commit 19c7624
4 files changed
Lines changed: 0 additions & 10 deletions
File tree
- .github/workflows
- aletheia
- .github/workflows
- extraction/rhodibot/.github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments