You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2023/07/24 08:24:07 UTC

[incubator-devlake-website] branch kw-fix-headmethod-not-working-for-some-website created (now 13c4e11133)

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a change to branch kw-fix-headmethod-not-working-for-some-website
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git


      at 13c4e11133 fix: HEAD method is not working for some website

This branch includes the following new commits:

     new 13c4e11133 fix: HEAD method is not working for some website

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-devlake-website] 01/01: fix: HEAD method is not working for some website

Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch kw-fix-headmethod-not-working-for-some-website
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git

commit 13c4e11133028834436b7630c5d88c10e3cae9c3
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Mon Jul 24 14:37:43 2023 +0800

    fix: HEAD method is not working for some website
    
      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