My team would like the ability for SonarCloud to set status on GitHub depending on the Quality Gate and percent of test coverage on new code.
I saw the ticket for test coverage on new code has been completed (https://jira.sonarsource.com/browse/MMF-1118).
Based on this information we would like to set a success or failure status on sha’s (https://developer.github.com/v3/repos/statuses/) based on configurations we set.
As an example, if test coverage on new code is less than 90% set a failure status, or if overall test coverage drops by 1.0% with the addition of the new code, set a failure status. Similar functionality for Quality Gate scores, number of bugs, etc.