Skip to content

Analyse this repository explicitly rather than automatically - #2

Merged
lessevv merged 2 commits into
mainfrom
ci/sonar-analysis
Jul 27, 2026
Merged

Analyse this repository explicitly rather than automatically#2
lessevv merged 2 commits into
mainfrom
ci/sonar-analysis

Conversation

@lessevv

@lessevv lessevv commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The sibling repositories are covered by SonarCloud's automatic analysis. This
one is not, and quietly — it holds no application source, so the language
detector finds nothing, the project sits empty, and a badge pointed at it never
resolves.

sonar-project.properties tells the scan where to look: the markdown and
workflow files that are the substance of a community-health repository. It also
declares the absence of a test tree explicitly, so the scanner does not infer
one and report zero coverage against files that have no tests by design.

Only this repository gets the workflow — the others keep automatic analysis,
which suits them.

Needs SONAR_TOKEN visible to this repo. The org secret is set with ALL
visibility, so it already is.

The sibling repositories are covered by SonarCloud's automatic analysis.
This one is not, and quietly: it holds no application source, so the
detector finds no language it recognises, the project sits empty, and a
badge pointed at it never resolves.

sonar-project.properties tells the scan where to look — the markdown and
workflow files that are the substance of a community-health repository —
and declares the absence of a test tree rather than leaving it to be
inferred and reported as zero coverage against files that have no tests
by design.

Only this repo gets the workflow. The others keep automatic analysis,
which suits them.

Signed-off-by: Wessel Verheij <info@nightworks.io>
@github-actions github-actions Bot added the ci label Jul 27, 2026
The scan failed with "Organization key 'beatrax-app' does not exist" —
the GitHub organisation and the SonarCloud one do not share a name, and
the project key does: beatrax-app_.github under organisation beatrax.

Spec: GOV-R12
Signed-off-by: Wessel Verheij <info@nightworks.io>
@sonarqubecloud

Copy link
Copy Markdown

@lessevv
lessevv merged commit 0850a2b into main Jul 27, 2026
7 checks passed
@lessevv
lessevv deleted the ci/sonar-analysis branch July 27, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant