Many fixes on code quality and CI #129
Reference in New Issue
Block a user
No description provided.
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request introduces multiple updates across the codebase, including workflow enhancements, dependency updates, and refactoring for consistency and maintainability. The changes primarily focus on improving CI/CD workflows, updating Go and SonarQube configurations, and standardizing naming conventions in the
labelstructspackage.Workflow Enhancements
.github/workflows/go-test.yamlto include additional pull request event types (opened,synchronize,reopened) and expanded branch support formainandreleases/**.1.23to1.24and replaced the SonarCloud action with SonarQube (sonarqube-scan-action@v5.2.0) while adding permissions forcontentsandpull-requests. [1] [2]Code Refactoring
labelStructstolabelstructsacross multiple files for consistency in naming conventions. [1] [2] [3] [4] [5] [6] [7]Dependency and Permission Updates
0o755) withutils.DirectoryPermissionfor better maintainability. [1] [2]SONAR_HOST_URLenvironment variable to usevars.SONAR_HOST_URLfor better configuration management.Bug Fixes and Improvements
cmd/katenary/main.goby trimming whitespace fromgivenAppVersionbefore checking its length.generator/converter.goby replacingappend([]byte(fmt.Sprintf(...)))withfmt.Appendf(nil, ...)for improved performance.Documentation Updates
doc/docs/packages/generator/labels.mdto clarify the purpose of thelabelspackage.