Skip to content
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

Enable JetBrains Qodana auto-fixes #202

Merged
merged 7 commits into from
Oct 27, 2023
Merged

Enable JetBrains Qodana auto-fixes #202

merged 7 commits into from
Oct 27, 2023

Conversation

christianhelle
Copy link
Owner

The changes here allows JetBrains Qodana to create pull requests with fixes for code analysis results

A new file, qodana.yml, is created to handle Qodana configurations, specifically for dotnet solutions. This update is necessary to direct Qodana to the appropriate solution file, Refitter.sln.
Updated the Qodana GitHub action configurations. The arguments to the action have been altered to apply automatic fixes suggested by Qodana. Furthermore, `pr-mode` argument was added and set to false. This adjustment allows for cleaner Pull Requests by having Qodana automatically implement its suggestions instead of requiring manual intervention for each fix.
@christianhelle christianhelle added the enhancement New feature, bug fix, or request label Oct 27, 2023
@christianhelle christianhelle self-assigned this Oct 27, 2023
A new 'fixesStrategy' key was added to the qodana.yml configuration file. The value for this key is set to 'cleanup'. This change will ensure that the Qodana tool uses the 'cleanup' strategy to fix identified issues, which aligns with our code maintenance policy.
@sonarcloud
Copy link

sonarcloud bot commented Oct 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@christianhelle christianhelle merged commit e3d8f4b into main Oct 27, 2023
4 of 5 checks passed
@christianhelle christianhelle deleted the qodana branch October 27, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, bug fix, or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant