- bump actions/upload-artifact from 4.3.5 to 4.3.6 Signed-off-by: dependabot[bot] <support@github.com> Closes #14506 - bump github/codeql-action from 3.25.15 to 3.26.0 Closes #14507 - bump rojopolis/spellcheck-github-actions digest to a0fba0c Closes #14518
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
name: spell
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '**.md'
|
|
- '**/spellcheck.yml'
|
|
- '**/spellcheck.yaml'
|
|
- '.github/scripts/*'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '**.md'
|
|
- '**/spellcheck.yml'
|
|
- '**/spellcheck.yaml'
|
|
- '.github/scripts/*'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
|
|
|
- name: trim all man page *.md files
|
|
run: find docs -name "*.md" ! -name "_*" | xargs -n1 ./.github/scripts/cleancmd.pl
|
|
|
|
- name: trim libcurl man page *.md files
|
|
run: find docs/libcurl -name "curl_*.md" -o -name "libcurl*.md" | xargs -n1 ./.github/scripts/cleanspell.pl
|
|
|
|
- name: trim libcurl option man page *.md files
|
|
run: find docs/libcurl/opts -name "CURL*.md" | xargs -n1 ./.github/scripts/cleanspell.pl
|
|
|
|
- name: trim cmdline docs markdown _*.md files
|
|
run: find docs/cmdline-opts -name "_*.md" | xargs -n1 ./.github/scripts/cleancmd.pl --no-header
|
|
|
|
- name: setup the custom wordlist
|
|
run: grep -v '^#' .github/scripts/spellcheck.words > wordlist.txt
|
|
|
|
- name: Check Spelling
|
|
uses: rojopolis/spellcheck-github-actions@a0fba0ca8b9e552d4241ea5ccfaa4ca4162622d0 # v0
|
|
with:
|
|
config_path: .github/scripts/spellcheck.yaml
|