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

Bump golangci-lint to v1.54.2 #2126

Merged
merged 1 commit into from Sep 21, 2023

Conversation

vinamra28
Copy link
Member

@vinamra28 vinamra28 commented Sep 16, 2023

Changes

Fixes couple of lint issues:

  • G101: Potential hardcoded credentials
  • G601: Implicit memory aliasing in for loop.

Temporarily disabling:

Also bump golangci-lint version in release pipeline

Signed-off-by: vinamra28 jvinamra776@gmail.com

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • [NA] Includes tests (if functionality changed/added)
  • Run the code checkers with make check
  • Regenerate the manpages, docs and go formatting with make generated
  • Commit messages follow commit message best practices

See the contribution guide
for more details.

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Sep 16, 2023
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 16, 2023
@vinamra28 vinamra28 force-pushed the bump-golangci-lint-1.54.2 branch 2 times, most recently from 225436a to 7e69bda Compare September 16, 2023 14:28
@piyush-garg
Copy link
Contributor

can we please do the change in release pipeline too

@chmouel
Copy link
Member

chmouel commented Sep 18, 2023

/lgtm

maybe take the opportunity to add more linters ! (we have a few of them in PaaC)

@tekton-robot tekton-robot added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels Sep 18, 2023
Fixes couple of lint issues:
- G101: Potential hardcoded credentials
- G601: Implicit memory aliasing in for loop.

Temporarily disabling:
- G602: Potentially accessing slice out of bounds as this is a known
  false positive and can be tracked at securego/gosec#1005

Also bump golangci-lint version in release pipeline

Signed-off-by: vinamra28 <jvinamra776@gmail.com>

Add logger to identify the pod failure
@vinamra28
Copy link
Member Author

/lgtm

maybe take the opportunity to add more linters ! (we have a few of them in PaaC)

sure @chmouel, probably can take this as next step

@vinamra28
Copy link
Member Author

/test pull-tekton-cli-integration-tests

@piyush-garg
Copy link
Contributor

/approve
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 21, 2023
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: piyush-garg

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 21, 2023
@tekton-robot tekton-robot merged commit d5e3b5e into tektoncd:main Sep 21, 2023
8 checks passed
@vinamra28 vinamra28 deleted the bump-golangci-lint-1.54.2 branch September 21, 2023 18:18
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. release-note-none Denotes a PR that doesnt merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants