2024-01-23 22:12:09 +08:00
|
|
|
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: curl
|
|
|
|
|
|
|
|
name: badwords
|
|
|
|
|
|
|
|
on:
|
|
|
|
# Trigger the workflow on push or pull requests, but only for the
|
|
|
|
# master branch
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- '*/ci'
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2024-04-07 18:01:25 +08:00
|
|
|
permissions: {}
|
|
|
|
|
2024-01-23 22:12:09 +08:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-06-13 23:18:24 +08:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
2024-01-23 22:12:09 +08:00
|
|
|
|
|
|
|
- name: check
|
2024-06-13 21:40:39 +08:00
|
|
|
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
|