-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
task(ci): add sonar #77
Conversation
9531399
to
30fa3a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A couple questions/comments.
.github/workflows/codecov.yml
Outdated
pull_request: | ||
branches: | ||
- main | ||
types: [opened, synchronize, reopened] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this line is redundant. These activity types are what are set by default. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request.
.github/workflows/codecov.yml
Outdated
-Dsonar.organization=rh-psce | ||
- name: SonarQube Quality Gate check | ||
uses: sonarsource/sonarqube-quality-gate-action@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we pin to a commit instead of the master branch?
.github/workflows/codecov.yml
Outdated
name: coverage | ||
- name: SonarCloud Scan | ||
uses: SonarSource/sonarcloud-github-action@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we pin to a commit instead of the master branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Do you have test branch showing this running successfully? The workflow ended up being skipped in this instance because there are no python changes.
I found a phrase with a period that I removed to verify functionality. PTAL. |
https://sonarcloud.io/summary/overall?id=rh-psce_trestle-bot