Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use py scripts in docs/master (#6339) #6392

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-3.1..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-3.1..HEAD -- '*.md' '*.yml' '*.yaml')

- run:
Expand All @@ -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-3.1..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-3.1..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-3.1..HEAD -- '*.md' ':(exclude).github/*')

build:
Expand Down