xref: /curl/.github/workflows/badwords.yml (revision 41e07d83)
1# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
2#
3# SPDX-License-Identifier: curl
4
5name: badwords
6
7on:
8  # Trigger the workflow on push or pull requests, but only for the
9  # master branch
10  push:
11    branches:
12    - master
13    - '*/ci'
14  pull_request:
15    branches:
16    - master
17
18permissions: {}
19
20jobs:
21  check:
22
23    runs-on: ubuntu-latest
24
25    steps:
26    - uses: actions/checkout@v2
27
28    - name: check
29      run: ./.github/scripts/badwords.pl < .github/scripts/badwords.txt docs/*.md docs/libcurl/*.md docs/libcurl/opts/*.md docs/cmdline-opts/*.md
30