mirror of https://github.com/wolfSSL/wolfTPM.git
31 lines
845 B
YAML
31 lines
845 B
YAML
name: Codespell
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master', 'main', 'release/**' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
repository_dispatch:
|
|
types: [nightly-trigger]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
codespell:
|
|
name: Check spelling
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Checkout wolfTPM
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run codespell
|
|
uses: codespell-project/actions-codespell@v2
|
|
with:
|
|
skip: .git,./IDE,./certs,./m4,*.der,*.pem
|
|
ignore_words_list: inh,inout,keypair,nd,parm,rcv,ser,loadIn,importIn,certifyIn,bu,fo,daa,pris,hsi,fram,hart
|