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

refactor: fix gosec linter G301 issue #593

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

andrzej-stencel
Copy link
Member

The G301 rule was updated to check for os.ModePerm in v1.58.2: securego/gosec#1138.

This unblocks the upgrade of Go linter from v1.58.1 to a later version.

Example of a failure on linter upgrade PR #574:

The G301 rule was updated to check for `os.ModePerm` in v1.58.2:
securego/gosec#1138.

This unblocks the upgrade of Go linter from v1.58.1 to a later version.
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.74%. Comparing base (1ccc87b) to head (4a5595f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #593   +/-   ##
=======================================
  Coverage   60.74%   60.74%           
=======================================
  Files          40       40           
  Lines        1969     1969           
=======================================
  Hits         1196     1196           
  Misses        626      626           
  Partials      147      147           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 13, 2024
@mx-psi mx-psi merged commit 4e9a0e9 into open-telemetry:main Aug 13, 2024
13 of 14 checks passed
@andrzej-stencel andrzej-stencel deleted the fix-lint-gosec-G301 branch August 19, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants