Skip to content

Conversation

@alisonlhart
Copy link
Contributor

@alisonlhart alisonlhart commented Oct 15, 2025

Overview

This PR tests triggering sonarcloud from a fork after updating the repository to use the finalize workflow from team-devtools:fix/sonarcloud-workflow.

We use a hybrid approach combining two workflows:

  • Wrapper workflow (workflow_run trigger) - Runs in the base repository context with access to secrets
  • Reusable workflow finalize (workflow_call) in team-devtools - Contains the actual SonarCloud analysis logic
    This design allows:
  • Fork PRs to be analyzed (secrets are accessed from the base repo, not the fork)
  • Centralized maintenance (reusable workflow lives in team-devtools)
  • Easy adoption by other repositories (just copy the wrapper)

This is the testing phase:

Currently using @fix/sonarcloud-workflow branch in team-devtools

Once validated, we'll:

  • Merge to main in team-devtools
  • Update wrapper examples to use main branch
  • Roll out to other repositories

@alisonlhart alisonlhart requested a review from a team as a code owner October 15, 2025 11:43
@alisonlhart alisonlhart changed the title Update README.md Test triggering sonarcloud from a fork Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant