Skip to content

ci: support sonar runs for forks#163

Merged
fstr merged 2 commits into
mainfrom
fstr/sonar
Mar 3, 2026
Merged

ci: support sonar runs for forks#163
fstr merged 2 commits into
mainfrom
fstr/sonar

Conversation

@fstr
Copy link
Copy Markdown
Contributor

@fstr fstr commented Mar 3, 2026

Description
The Sonarcloud step of the "PR checks" workflow for forks is failing, because GHA for forks can't access repository secrets to prevent secret extraction.

This patch splits the PR pipeline. The coverage report is created on the fork and uploaded as a GH artefact. Once the fork "PR Checks" workflow passed, a workflow that runs in the scope of the base repository is triggered, which has access to the Sonarcloud repository secret to analyse the report.

@fstr fstr requested a review from a team as a code owner March 3, 2026 14:36
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 3, 2026

@fstr fstr changed the title ci: bump node version ci: support sonar runs for forks Mar 3, 2026
@fstr fstr merged commit 306e188 into main Mar 3, 2026
2 checks passed
@fstr fstr deleted the fstr/sonar branch March 3, 2026 15:07
fstr added a commit that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants