diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f06652fd08..df490652c1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ jobs: pull: runs-on: ubuntu-latest steps: - - name: Check out + - name: Check out uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: @@ -16,7 +16,7 @@ jobs: run: git remote add upstream https://github.com/pingcap/docs-tidb-operator.git; git fetch upstream; - python3 ./hack/check-conflicts.py $(git diff-tree --name-only --no-commit-id -r upstream/master...HEAD -- 'zh/' 'en/' '.md' ':(exclude).github/*') + python3 ./hack/check-conflicts.py $(git diff-tree --name-only --no-commit-id -r upstream/master...HEAD -- '*.md' '*.yml' '*.yaml') - name: Markdown lint uses: avto-dev/markdown-lint@v1 with: @@ -25,8 +25,8 @@ jobs: - name: Verify internal links run: ./hack/verify-links.sh - name: Verify internal link anchors - run: ./hack/verify-link-anchors.sh + run: ./hack/verify-link-anchors.sh - name: "Check unclosed tags" - run: + run: echo "checked files are $(git diff-tree --name-only --no-commit-id -r upstream/master...HEAD -- 'zh/' 'en/' '.md' ':(exclude).github/*')"; python3 ./hack/check-tags.py $(git diff-tree --name-only --no-commit-id -r upstream/master...HEAD -- 'zh/' 'en/' '.md' ':(exclude).github/*')