# GitHub Action to automate the identification of common misspellings in text files # https://github.com/codespell-project/codespell # https://github.com/codespell-project/actions-codespell name: "hipFile codespell" on: push: branches: [develop] paths: - 'projects/hipfile/**' - '.github/workflows/hipfile-*.yml' pull_request: paths: - 'projects/hipfile/**' - '.github/workflows/hipfile-*.yml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: hipfile-codespell: name: "hipFile: Check for spelling errors" runs-on: ubuntu-latest steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: sparse-checkout: | projects/hipfile .github/workflows - uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2 with: ignore_words_file: | projects/hipfile/.codespellignore