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

workflows: Fix gosec errors & enable code annotations #19

Merged
merged 5 commits into from
Jul 19, 2024

Conversation

yhabteab
Copy link
Member

Enables code annotations in case of failures and fixes the actions triggered by the main branch.
https://github.com/Icinga/icinga-go-library/actions/runs/7783022809/job/21220618068

This PR suppresses also some of the reported existing gosec errors and solves some of them as well and drops the only-new-issue flag set for the go linter.

$ gosec ./...
---
Results:

Summary:
  Gosec  : dev
  Files  : 40
  Lines  : 4269
  Nosec  : 4
  Issues : 0

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label May 27, 2024
@yhabteab
Copy link
Member Author

refs #9

@@ -22,7 +22,7 @@ func (t *TLS) MakeConfig(serverName string) (*tls.Config, error) {
return nil, nil
}

tlsConfig := &tls.Config{}
tlsConfig := &tls.Config{MinVersion: tls.VersionTLS12}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config/config.go Outdated Show resolved Hide resolved
backoff/backoff.go Show resolved Hide resolved
version/version.go Outdated Show resolved Hide resolved
@yhabteab yhabteab force-pushed the enable-annotations branch from 7c096b9 to ff4b912 Compare May 28, 2024 10:28
@yhabteab yhabteab force-pushed the enable-annotations branch from ff4b912 to 4003fd8 Compare May 28, 2024 10:46
@yhabteab yhabteab requested a review from oxzi May 28, 2024 10:48
@julianbrost julianbrost merged commit a1fa2ad into main Jul 19, 2024
2 checks passed
@julianbrost julianbrost deleted the enable-annotations branch July 19, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants