1
0
mirror of https://gitea.com/gitea/act synced 2025-06-17 11:18:37 +00:00
Files
act/pkg/artifacts
Robert Kowalski 1a71c52ef3 lint: add ReadHeaderTimeout (#1277)
currently build fail with:

```
run golangci-lint
  Running [/home/runner/golangci-lint-1.47.0-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
  Error: G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
```

for example in this PR:
https://github.com/nektos/act/runs/7405009660?check_suite_focus=true

this sets the required ReadHeaderTimeout
2022-07-25 12:12:48 +00:00
..
2022-07-25 12:12:48 +00:00