add release notes for 7.5.3 (#18334) #31307
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: | |
tidb-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Verify duplicated file names | |
run: ./scripts/verify-duplicated-file-name.sh | |
- name: Verify internal links and anchors - tidb only | |
run: | | |
npm i | |
node ./scripts/filterNonCloudDoc.js | |
cp -r ./scripts ./tmp | |
cp -r ./media ./tmp | |
cp .gitignore ./tmp/ | |
cd ./tmp | |
./scripts/verify-links.sh | |
./scripts/verify-link-anchors.sh | |
tidb-cloud-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Check TOC-tidb-cloud.md existence | |
id: check_cloud_toc | |
uses: andstor/file-existence-action@v2 | |
with: | |
files: "TOC-tidb-cloud.md" | |
- name: Verify internal links - cloud only | |
if: steps.check_cloud_toc.outputs.files_exists == 'true' | |
run: | | |
npm i | |
node ./scripts/filterCloudDoc.js | |
cp -r ./scripts ./tmp | |
cp -r ./media ./tmp | |
cp .gitignore ./tmp/ | |
cd ./tmp | |
./scripts/verify-links.sh | |
./scripts/verify-link-anchors.sh | |
vale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Vale Linter | |
uses: errata-ai/vale-action@reviewdog | |
with: | |
# Optional | |
# Specify file path to lint | |
#files: . | |
# Optional | |
filter_mode: added | |
env: | |
# Required, set by GitHub actions automatically: | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |