mirror of
https://github.com/curl/curl.git
synced 2026-07-25 23:47:16 +03:00
parent
c074ba64a8
commit
ca6b05b6dc
2 changed files with 20 additions and 7 deletions
21
.github/workflows/badwords.yml
vendored
21
.github/workflows/badwords.yml
vendored
|
|
@ -18,12 +18,25 @@ on:
|
|||
permissions: {}
|
||||
|
||||
jobs:
|
||||
check:
|
||||
docs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
||||
- name: check
|
||||
run: ./.github/scripts/badwords.pl < .github/scripts/badwords.txt docs/*.md docs/libcurl/*.md docs/libcurl/opts/*.md docs/cmdline-opts/*.md docs/TODO docs/KNOWN_BUGS
|
||||
- name: check
|
||||
run: ./.github/scripts/badwords.pl < .github/scripts/badwords.txt docs/*.md docs/libcurl/*.md docs/libcurl/opts/*.md docs/cmdline-opts/*.md docs/TODO docs/KNOWN_BUGS
|
||||
|
||||
source:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
||||
# we allow some extra in source code
|
||||
- name: trim wordlist
|
||||
run: grep -Ev '(\\bwill| url | dir )' .github/scripts/badwords.txt > .github/scripts/source.txt
|
||||
|
||||
- name: check
|
||||
run: ./.github/scripts/badwords.pl < .github/scripts/source.txt `git ls-files -- src lib include`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue