-
Notifications
You must be signed in to change notification settings - Fork 117
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
Spotless is not verified on PRs #3349
Comments
/cc @Leo6Leo |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
To add more details on this issue. Spotless support is added to the knative-extensions eventing-kafka-broker repository in this PR. #3171 Problem: Spotless formatting is not checked during the CI process. Unformatted code can be merged without any CI checks failing. Goal: Verify the code formatting in the CI. Some more context: /good-first-issue |
@Leo6Leo: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Hello guys, I wanted to work on this issue and needed some context and/or clues of where to start on this issue. More specifically, should the solution include a separate workflow or can it be incorporated into a preexisting GitHub workflow or maybe something else. Thanks for any and all help! |
Hey @prakhar479 , thanks for the help! Try to take a look at the comments here and the PR to get the context where to start on this issue.
It would be ideal to incorporated into our existing workflow, specifically the prow workflow. But we are open to suggestions! But just remember to provide with the concrete reasons on why it is better! So feel free to share your ideas if you have any better ones! |
…ative-extensions#3349) Signed-off-by: Prakhar Singhal <[email protected]>
* bug: added code formatting check in java test pull request hook Signed-off-by: Prakhar Singhal <[email protected]>
Describe the bug
It seems like the code is not being verified to match the formatting provided by Spotless on PRs, as subsequent PRs are reformatting the code when
./hack/update-codegen.sh
is run.Expected behavior
If code is not formatted properly, some CI job fails and indicates that the code should be formatted.
To Reproduce
Create a PR with Java code and don't run the Spotless format command.
Knative release version
Additional context
Add any other context about the problem here such as proposed priority
The text was updated successfully, but these errors were encountered: