From bede3e37acf07fbf60a4468802febac5dd630a4b Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 30 Aug 2021 17:59:06 +0800 Subject: [PATCH] chore: use py scripts in docs/master --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b01df00efc8a3..8bd2ea7a164de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,13 +21,13 @@ jobs: command: | git remote add upstream https://github.com/pingcap/docs.git git fetch upstream - wget https://raw.githubusercontent.com/CharLotteiu/pingcap-docs-checks/main/check-file-encoding.py + wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/check-file-encoding.py python3 check-file-encoding.py $(git diff-tree --name-only --no-commit-id -r upstream/release-5.2..HEAD -- '*.md' ':(exclude).github/*') - run: name: "Check git conflicts" command: | - wget https://raw.githubusercontent.com/CharLotteiu/pingcap-docs-checks/main/check-conflicts.py + wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/check-conflicts.py python3 check-conflicts.py $(git diff-tree --name-only --no-commit-id -r upstream/release-5.2..HEAD -- '*.md' '*.yml' '*.yaml') - run: @@ -53,19 +53,19 @@ jobs: - run: name: "Check control characters" command: | - wget https://raw.githubusercontent.com/CharLotteiu/pingcap-docs-checks/main/check-control-char.py + wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/check-control-char.py python3 check-control-char.py $(git diff-tree --name-only --no-commit-id -r upstream/release-5.2..HEAD -- '*.md' ':(exclude).github/*') - run: name: "Check unclosed tags" command: | - wget https://raw.githubusercontent.com/CharLotteiu/pingcap-docs-checks/main/check-tags.py + wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/check-tags.py python3 check-tags.py $(git diff-tree --name-only --no-commit-id -r upstream/release-5.2..HEAD -- '*.md' ':(exclude).github/*') - run: name: "Check manual line breaks" command: | - wget https://raw.githubusercontent.com/CharLotteiu/pingcap-docs-checks/main/check-manual-line-breaks.py + wget https://raw.githubusercontent.com/pingcap/docs/master/scripts/check-manual-line-breaks.py python3 check-manual-line-breaks.py $(git diff-tree --name-only --no-commit-id -r upstream/release-5.2..HEAD -- '*.md' ':(exclude).github/*') build: