name: Spell checking

# Trigger on pull requests, and pushes to master branch.
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

env:
  VERSION_PROMU: 'v0.14.0'

jobs:
  codespell:
    name: Check for spelling errors
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
      - uses: codespell-project/actions-codespell@master
        with:
          check_filenames: true
          # When using this Action in other repos, the --skip option below can be removed
          skip: ./.git,go.mod,go.sum
          ignore_words_list: calle,Entires
