This is an automated email from the ASF dual-hosted git repository.
zky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
The following commit(s) were added to refs/heads/main by this push:
new e200ae28d0 fix: HEAD method is not working for some website (#600)
e200ae28d0 is described below
commit e200ae28d0fb3d91008313a02d625e70705dcf38
Author: Klesh Wong <[email protected]>
AuthorDate: Mon Jul 24 16:55:46 2023 +0800
fix: HEAD method is not working for some website (#600)
e.g.
https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal
---
.github/workflows/link-schedule.yaml | 2 +-
.github/workflows/pr_ci.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/link-schedule.yaml
b/.github/workflows/link-schedule.yaml
index eb9b8a190b..0236e897c2 100644
--- a/.github/workflows/link-schedule.yaml
+++ b/.github/workflows/link-schedule.yaml
@@ -49,7 +49,7 @@ jobs:
GITHUB_WORKFLOW_URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}?check_suite_focus=true"
if ! lychee --output ${OUTPUT_FILE} \
- -E -i -n -t 5 --max-concurrency 64 -a 429,401,403 -m 10 -f
markdown -s http -s https -X HEAD \
+ -E -i -n -t 5 --max-concurrency 64 -a 429,401,403 -m 10 -f
markdown -s http -s https \
'**/*.md'
then
echo "" >> "${OUTPUT_FILE}" # add a new line
diff --git a/.github/workflows/pr_ci.yaml b/.github/workflows/pr_ci.yaml
index bd4f7facf6..d587d4fdf4 100644
--- a/.github/workflows/pr_ci.yaml
+++ b/.github/workflows/pr_ci.yaml
@@ -32,7 +32,7 @@ jobs:
git diff --name-only ${{ github.event.pull_request.base.sha }}... |
grep -P '\.md$' > modified_files || true
if [ -s modified_files ]; then
# run lychee
- cat modified_files | xargs -d '\n' -- lychee -E -i -n -t 45
--max-concurrency 64 -a 409,401,403 -m 10 -s http -s https -X HEAD --
+ cat modified_files | xargs -d '\n' -- lychee -E -i -n -t 45
--max-concurrency 64 -a 409,401,403 -m 10 -s http -s https --
fi
- name: Use Node.js 17.8.x
uses: actions/setup-node@main