ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/.github/workflows/codespell.yml
Austin Seipp 37d6e71f76 github: fix codespell skip syntax for directories
Summary: Codespell actually matches local files at the root of the repo with the
`./` prefix, so without it the `skip` field won't match. Fix this for `./target`
and `./.jj` directories.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: Ibeafd7e400ff3bca9187d62241296060
2023-11-02 15:37:26 -05:00

23 lines
490 B
YAML

name: Codespell
on:
push:
branches:
- main
pull_request:
permissions: read-all
jobs:
codespell:
name: Codespell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461
with:
check_filenames: true
check_hidden: true
skip: ./target,./.jj,*.lock
ignore_words_list: crate,nd,nD