Skip to content

Enable only-new-issues for golangci-lint-action to fix linting unch… - #125

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
krsna-m:p1
Mar 27, 2023
Merged

knative-prow[bot] merged 1 commit into
knative:mainfrom
krsna-m:p1

Conversation

@krsna-m

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

Copy link
Copy Markdown
Contributor

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

krsna-m commented Mar 27, 2023

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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

knative-prow Bot commented Mar 27, 2023

Copy link
Copy Markdown

[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

Details 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
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.

2 participants