sharkbytedev/Sonar Test Suite
Trigger a Sonar test suite run and track its results
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| webhook_url | Sonar webhook URL (e.g. https://app.sonarapp.io/api/webhooks/suites/abc123) | yes | — |
| bearer_token | Bearer token for Sonar authentication | yes | — |
| mode | live — stream results to the Actions log and fail the job if tests fail. pr-check — set a pending commit status when the run starts, then mark it green or red when tests complete. The job itself always passes. | no | live |
| timeout_minutes | Maximum minutes to wait for the suite to complete | no | 30 |
| poll_interval_seconds | Seconds between status polls | no | 15 |
| github_token | GitHub token used to post commit statuses in pr-check mode (defaults to the built-in GITHUB_TOKEN) | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| suite_run_id | The Sonar suite run ID |
| status | Final suite status (passed, failed, cancelled, timed_out) |
| passed | "true" if the suite passed, "false" otherwise |