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-05-20 22:25:03 +08:00
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
|
2024-01-23 22:12:09 +08:00
|
|
|
|
|
|
|
- name: check
|
2024-02-27 17:35:28 +08:00
|
|
|
run: ./.github/scripts/badwords.pl < .github/scripts/badwords.txt docs/*.md docs/libcurl/*.md docs/libcurl/opts/*.md docs/cmdline-opts/*.md
|