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 only-new-issues for golangci-lint-action to fix linting unch… #125

Merged
merged 1 commit into from Mar 27, 2023

Conversation

krsna-m
Copy link
Contributor

@krsna-m krsna-m commented Mar 27, 2023

Changes

There is an issue golangci/golangci-lint-action#535 that has golangci-lint-action lint unchanged files which we are now seeing. People report that setting the version v1.47.3 address this issue. However, downgrading gets us golangci/golangci-lint-action#440. Setting the only-new-issues flag seems to fix the issue we are experiencing for now.

  • 🐛 Fix bug

@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 27, 2023
@krsna-m krsna-m requested a review from dprotaso March 27, 2023 16:48
@krsna-m
Copy link
Contributor Author

krsna-m commented Mar 27, 2023

image
Still catches lint errors ^
example of passing without triggering unchanged files krsna-m/serving#8

@krsna-m krsna-m requested a review from cardil March 27, 2023 17:03
@dprotaso
Copy link
Member

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 27, 2023
@knative-prow
Copy link

knative-prow bot commented Mar 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, kvmware

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot merged commit 88cafab into knative:main Mar 27, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants