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

Update automation #348

Merged
merged 4 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
day: "sunday"
time: "18:00"
allow:
# Allow direct updates for packages
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-libraries-to-commits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
name: Dell Libraries Commit Update
on: # yamllint disable-line rule:truthy
workflow_dispatch:
repository_dispatch:
types: [latest-commits-libraries]

jobs:
package-update:
Expand Down
13 changes: 4 additions & 9 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
run:
timeout: 20m
tests: true
skip-dirs-use-default: true
modules-download-mode: readonly
skip-dirs:
- go/pkg # remove third party mod lib from scanning
- go/src # remove third party mod lib from scanning
- hostedtoolcache # remove the mod caches from scanning

issues:
max-issues-per-linter: 0
max-same-issues: 0
new: false

output:
formats:
- format: colored-line-number
print-linter-name: true
sort-results: true
uniq-by-line: false
print-issued-lines: true

linters:
disable-all: true
fast: false
enable:
# A stricter replacement for gofmt.
- gofumpt
# Inspects source code for security problems.
- gosec
# Check for correctness of programs.
- govet
# Drop-in replacement of golint.
Expand Down
2 changes: 1 addition & 1 deletion cmd/sidecar-proxy/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestProxyInstanceHandler(t *testing.T) {
rp := httputil.NewSingleHostReverseProxy(u)
rp.Transport = &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: true,
InsecureSkipVerify: true, // #nosec G402
},
}

Expand Down
Loading