en,zh: add v1.5.1 release notes (#2458) #6732
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
check-file-encoding: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/pingcap/docs-tidb-operator.git | |
git fetch upstream | |
- name: "Check file encoding" | |
run: | | |
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/${{ github.base_ref }}..HEAD -- '*.md' ':(exclude).github/*') | |
check-git-conflicts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/pingcap/docs-tidb-operator.git | |
git fetch upstream | |
- name: "Check git conflicts" | |
run: | | |
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/${{ github.base_ref }}..HEAD -- '*.md' '*.yml' '*.yaml') | |
markdownlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/pingcap/docs-tidb-operator.git | |
git fetch upstream | |
- name: Markdown lint | |
uses: avto-dev/markdown-lint@v1 | |
with: | |
config: './.markdownlint.yaml' | |
args: '.' | |
verify-internal-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Verify internal links | |
run: ./hack/verify-links.sh | |
verify-internal-link-anchors: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Verify internal link anchors | |
run: ./hack/verify-link-anchors.sh | |
check-control-characters: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/pingcap/docs-tidb-operator.git | |
git fetch upstream | |
- name: "Check control characters" | |
run: | | |
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/${{ github.base_ref }}..HEAD -- '*.md' ':(exclude).github/*') | |
check-unclosed-tags: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/pingcap/docs-tidb-operator.git | |
git fetch upstream | |
- name: "Check unclosed tags" | |
run: | | |
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/${{ github.base_ref }}...HEAD -- 'zh/' 'en/' '.md' ':(exclude).github/*') | |
check-manual-line-breaks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Add remote | |
run: | | |
git remote add upstream https://github.com/pingcap/docs-tidb-operator.git | |
git fetch upstream | |
- name: "Check manual line breaks" | |
run: | | |
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/${{ github.base_ref }}..HEAD -- '*.md' ':(exclude).github/*') |