Skip to content

Commit

Permalink
Try once more
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Jan 8, 2025
1 parent 5e6e662 commit e0a957f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ jobs:
needs: yaml-check
runs-on: ubuntu-latest
if: ${{needs.yaml-check.outputs.toggle_md_linter == 'yes'}}
container:
image: davidanson/markdownlint-cli2

steps:
- name: Checkout files
Expand All @@ -132,9 +134,8 @@ jobs:
curl "https://github.com/DavidAnson/markdownlint-cli2/blob/af14a2e768b741b941255b4c6b875339b4acbb73/test/config-files/cfg/.markdownlint-cli2.jsonc" \
-o resources/.markdownlint-cli2.jsonc
npm install markdownlint-cli2 --global
markdownlint-cli2 "**/*.md" "#node_modules" >> check_reports/markdown_lint_report.txt 2>&1
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.17.1 "**/*.md" "#node_modules" \
>> check_reports/markdown_lint_report.txt 2>&1
# Commit the rendered bookdown files
- name: Commit markdown report to preview branch
Expand Down

0 comments on commit e0a957f

Please sign in to comment.