代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/erda 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
run:
concurrency: 4
timeout: 2m
# include test files or not, default is true
tests: false
allow-parallel-runners: true
skip-dirs:
- tools/cli/generated_cmd
- tools/cli/command/generate
- modules/openapi/api/generate
- pkg/parser/pipelineyml/pipelineymlv1
- third_party
skip-files:
- apistructs/generated_desc.go
- modules/openapi/api/api.go
build-tags:
- musl
linters-settings:
goimports:
local-prefixes: github.com/erda-project
linters:
disable-all: true
# 修复完 issues 后再增加新的 linter
enable:
- goimports
- gosec
- gofmt
issues:
exclude-rules:
- linters:
- gosec
text: "G101:" # G101: Potential hardcoded credentials (gosec)
- linters:
- gosec
text: "G108:" # G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
- linters:
- gosec
text: "G109:" # G109: Potential Integer overflow made by strconv.Atoi result conversion to int16/32 (gosec)
- linters:
- gosec
text: "G110:" # G110: Potential DoS vulnerability via decompression bomb (gosec)
- linters:
- gosec
text: "G201:" # SQL string formatting (gosec)
- linters:
- gosec
text: "G204:" # G204: Subprocess launched with function call as argument or cmd arguments (gosec)
- linters:
- gosec
text: "G305:" # G305: File traversal when extracting zip/tar archive (gosec)
- linters:
- gosec
text: "G306:" # G306: Expect WriteFile permissions to be 0600 or less
- linters:
- gosec
text: "G401:" # G401: Use of weak cryptographic primitive (gosec)
- linters:
- gosec
text: "G402:" # G402: TLS InsecureSkipVerify may be true. (gosec)
- linters:
- gosec
text: "G404:" # G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
- linters:
- gosec
text: "G501:" # G501: Blacklisted import `crypto/md5`: weak cryptographic primitive (gosec)
- linters:
- gosec
text: "G601:" # G601: Implicit memory aliasing in for loop. (gosec)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。