32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
name: Codespell test
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master', 'main', 'release/**' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
# END OF COMMON SECTION
|
|
|
|
jobs:
|
|
codespell:
|
|
if: github.repository_owner == 'wolfssl'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: codespell-project/actions-codespell@v2.1
|
|
with:
|
|
check_filenames: true
|
|
check_hidden: true
|
|
# Add comma separated list of words to ignore (sorted alphabetically, case sensitive)
|
|
ignore_words_list: adin,ADn,alph,aNULL,carryIn,cconfiguration,chainG,ciph,cLen,cliKs,creen,dout,ede,Fo,haveA,hashIn,larg,LEAPYEAR,inCreated,inOut,inout,Merget,mot,optionA,parm,parms,repid,rIn,rsource,ser,siz,Te,te,TOOM,userA,vie
|
|
# tls_wolfssl.c, client_wolfssl.c have a PEM as a byte array with word looking things
|
|
# IDE/IAR-MSP430/main.c has Ipsum Lorem which has word looking things
|
|
# tests/api.c has ASCII encoded strings with line-wraps
|
|
exclude_file: './IDE/ECLIPSE/DEOS/tls_wolfssl.c,./IDE/ECLIPSE/MICRIUM/client_wolfssl.c,./IDE/IAR-MSP430/main.c,./tests/api.c'
|
|
skip: '*.cproject,*.der,*.pem'
|