You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/10/24 09:55:54 UTC
[dolphinscheduler] branch dev updated: [doc][ci] Add http header to avoid github 403 in dlc (#12509)
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 997b022b7c [doc][ci] Add http header to avoid github 403 in dlc (#12509)
997b022b7c is described below
commit 997b022b7cf6d03f8b1b4ac220c58349a553ea2c
Author: Jiajie Zhong <zh...@gmail.com>
AuthorDate: Mon Oct 24 17:55:43 2022 +0800
[doc][ci] Add http header to avoid github 403 in dlc (#12509)
see more detail in
https://github.com/tcort/markdown-link-check/issues/201
and we find can solve this by adding `httpHeaders` to fix
it
---
.dlc.json | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.dlc.json b/.dlc.json
index d083458159..da44b95b8e 100644
--- a/.dlc.json
+++ b/.dlc.json
@@ -20,6 +20,14 @@
"replacement": "https://dolphinscheduler.apache.org/zh-cn/download/download.html"
}
],
+ "httpHeaders": [
+ {
+ "urls": ["https://docs.github.com/"],
+ "headers": {
+ "Accept-Encoding": "zstd, br, gzip, deflate"
+ }
+ }
+ ],
"timeout": "10s",
"retryOn429": true,
"retryCount": 10,