-
Notifications
You must be signed in to change notification settings - Fork 2
ci: fail on issues found in static-checks #24
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
base: main
Are you sure you want to change the base?
Conversation
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.
Pull Request Overview
This PR updates the CI workflow to fail when static-check issues are detected and adds a conditional execution for the release process.
- Removed the argument "--issues-exit-code=0" from the Go linter step, ensuring that the CI now fails on static-check issues.
- Added an ID for the semantic release step and introduced a conditional for running GoReleaser based on the outcome of semantic release.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
.github/workflows/reusable-go-ci.yaml | Updated lint command arguments to fail on detected issues by removing '--issues-exit-code=0'. |
.github/workflows/release.yaml | Added semantic_release step identifier and a conditional for running GoReleaser based on release outcome. |
Comments suppressed due to low confidence (1)
.github/workflows/release.yaml:58
- Ensure that the 'semantic_release' output always returns the string 'true' when a new release is published, so that the conditional execution for GoReleaser behaves as expected.
if: steps.semantic_release.outputs.new_release_published == 'true'
|
Coverage for common Download the latest HTML coverage report for common here. |
|
Coverage for common-server Download the latest HTML coverage report for common-server here. |
|
Coverage for secret-manager Download the latest HTML coverage report for secret-manager here. |
|
Coverage for approval Download the latest HTML coverage report for approval here. |
No description provided.