diff --git a/.dlc.json b/.dlc.json index 4e9489664d1..0880ad8221e 100644 --- a/.dlc.json +++ b/.dlc.json @@ -11,6 +11,12 @@ }, { "pattern": "^https://dolphinscheduler.apache.org" + }, + { + "pattern": ".github/workflows" + }, + { + "pattern": "^file:///" } ], "replacementPatterns": [ diff --git a/.github/workflows/dead-link-checker.yaml b/.github/workflows/dead-link-checker.yaml index f1d21b98de7..f9bb79b60a8 100644 --- a/.github/workflows/dead-link-checker.yaml +++ b/.github/workflows/dead-link-checker.yaml @@ -36,7 +36,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Prepare Related Resource - if: github.event_name == 'schedule' + if: github.event_name == 'schedule' || github.event_name == 'pull_request' run: ./scripts/prepare_docs.sh - run: npm install fs-extra --save-dev - name: Generate the images of Logs and Events