permissions: {}
jobs:
- proselint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: checkout
-
- - name: install prereqs
- run: |
- sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
- sudo apt-get install python3-proselint
-
- # config file help: https://github.com/amperser/proselint/
- - name: create proselint config
- run: |
- cat <<JSON > $HOME/.proselintrc.json
- {
- "checks": {
- "typography.diacritical_marks": false,
- "typography.symbols": false,
- "annotations.misc": false,
- "security.password": false
- }
- }
- JSON
-
- - name: trim headers off all *.md files
- run: git ls-files -z '*.md' | xargs -0 -n1 .github/scripts/trimmarkdownheader.pl
-
- - name: check prose
- run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|curl_mprintf.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README
-
- # This is for CHECKSRC and files with aggressive exclamation mark needs
- - name: create second proselint config
- run: |
- cat <<JSON > $HOME/.proselintrc.json
- {
- "checks": {
- "typography.diacritical_marks": false,
- "typography.symbols": false,
- "typography.exclamation": false,
- "lexical_illusions.misc": false,
- "annotations.misc": false
- }
- }
- JSON
-
- - name: check special prose
- run: proselint docs/internals/CHECKSRC.md docs/libcurl/curl_mprintf.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md
+ # proselint:
+ # runs-on: ubuntu-latest
+ # steps:
+ # - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
+ # name: checkout
+ #
+ # - name: install prereqs
+ # run: |
+ # sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
+ # sudo apt-get install python3-proselint
+ #
+ # # config file help: https://github.com/amperser/proselint/
+ # - name: create proselint config
+ # run: |
+ # cat <<JSON > $HOME/.proselintrc.json
+ # {
+ # "checks": {
+ # "typography.diacritical_marks": false,
+ # "typography.symbols": false,
+ # "annotations.misc": false,
+ # "security.password": false,
+ # "misc.annotations": false
+ # }
+ # }
+ # JSON
+ #
+ # - name: trim headers off all *.md files
+ # run: git ls-files -z '*.md' | xargs -0 -n1 .github/scripts/trimmarkdownheader.pl
+ #
+ # - name: check prose
+ # run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|curl_mprintf.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README
+ #
+ # # This is for CHECKSRC and files with aggressive exclamation mark needs
+ # - name: create second proselint config
+ # run: |
+ # cat <<JSON > $HOME/.proselintrc.json
+ # {
+ # "checks": {
+ # "typography.diacritical_marks": false,
+ # "typography.symbols": false,
+ # "typography.exclamation": false,
+ # "lexical_illusions.misc": false,
+ # "annotations.misc": false
+ # }
+ # }
+ # JSON
+ #
+ # - name: check special prose
+ # run: proselint docs/internals/CHECKSRC.md docs/libcurl/curl_mprintf.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md
# Docs: https://github.com/marketplace/actions/markdown-link-check
linkcheck: