From 4e6ffd9fee72586e5c2135648d06534ca1615108 Mon Sep 17 00:00:00 2001 From: Abner-1 Date: Mon, 3 Jun 2024 16:19:39 +0800 Subject: [PATCH] fix markdown linter checkout err Signed-off-by: Abner-1 --- .github/workflows/ci.yaml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index caa2e4e748..f820e93e94 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -77,20 +77,21 @@ jobs: with: sarif_file: 'trivy-results.sarif' - markdownlint-misspell-shellcheck: - runs-on: ubuntu-20.04 - # this image is build from Dockerfile - # https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile - container: pouchcontainer/pouchlinter:v0.1.2 - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Run misspell - run: find ./* -name "*" | grep -v vendor | xargs misspell -error - - name: Run shellcheck - run: find ./ -name "*.sh" | grep -v vendor | xargs shellcheck - - name: Lint markdown files - run: find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | xargs mdl -r ~MD010,~MD013,~MD014,~MD022,~MD024,~MD029,~MD031,~MD032,~MD033,~MD036 +# markdownlint-misspell-shellcheck: +# runs-on: ubuntu-20.04 +# # this image is build from Dockerfile +# # https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile +# container: pouchcontainer/pouchlinter:v0.1.2 +# steps: +# - name: Checkout +# uses: actions/checkout@v3 +# - name: Run misspell +# run: find ./* -name "*" | grep -v vendor | xargs misspell -error +# - name: Run shellcheck +# run: find ./ -name "*.sh" | grep -v vendor | xargs shellcheck +# - name: Lint markdown files +# run: find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | xargs mdl -r ~MD010,~MD013,~MD014,~MD022,~MD024,~MD029,~MD031,~MD032,~MD033,~MD036 + # - name: Check markdown links # run: | # set +e