Replies: 1 comment
-
|
We are running some experiments in this qodana-action fork. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
We're evaluating Qodana and look to transition from SonarCloud to Qodana Cloud. We've used SonarCloud from
pushtriggered workflows and are aiming to come up with a solution to allow our teams to use the qodana-action as a drop-in-replacement for our existing sonar action.We've noticed that the
pr-modeandpost-pr-commentfeatures only works when triggered by apull_requestevent. We have 500+ workflows that typically trigger onpush. The workflow starts with a test job that run unit tests, collect coverage and end with the sonar quality gate. The workflow then continues with acceptance testing etc. See this workflow for an example.SonarCloud will add a comment on any open pull request found for the branch reference. We now wish to find a way to keep our workflows essentially the same, just replace our sonar step with a qodana step and have the same pull request comment behavior.
We believe this can be accomplished with some backward compatible changes in the action. The idea is to use Octokit to find matching pull requests when the PR context isn't already set.
Is this something other's would find useful?
Beta Was this translation helpful? Give feedback.
All reactions