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

feat: cancel the previous run when a new event occurs for the same PR #386

Merged
merged 1 commit into from
Sep 25, 2024

feat: cancel the previous run when a new event occurs for the same Pu…

75e59b4
Select commit
Loading
Failed to load commit list.
Merged

feat: cancel the previous run when a new event occurs for the same PR #386

feat: cancel the previous run when a new event occurs for the same Pu…
75e59b4
Select commit
Loading
Failed to load commit list.
qiniu-x / golangci-lint failed Sep 24, 2024 in 20s

golangci-lint found 2 issues related to your changes

This is the detailed log.

If you have any questions about this comment, feel free to raise an issue here.

Annotations

Check warning on line 55 in internal/storage/file.go

See this annotation in the file changed.

@qiniu-x qiniu-x / golangci-lint

internal/storage/file.go#L55

do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"file does not exist: %s\", filePath)" (err113)

Check warning on line 233 in internal/linters/github.go

See this annotation in the file changed.

@qiniu-x qiniu-x / golangci-lint

internal/linters/github.go#L233

for loop can be changed to use an integer range (Go 1.22+) (intrange)