badwords.yml 603 B

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