diff --git a/.github/_typos.toml b/.github/_typos.toml new file mode 100644 index 000000000..7c107218e --- /dev/null +++ b/.github/_typos.toml @@ -0,0 +1,2 @@ +[default] +check-filename = true diff --git a/.github/workflows/spell-check.yaml b/.github/workflows/spell-check.yaml new file mode 100644 index 000000000..8a040510a --- /dev/null +++ b/.github/workflows/spell-check.yaml @@ -0,0 +1,15 @@ +name: Spell Check +on: [pull_request] + +jobs: + run: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v2 + + - name: Check spelling of proposals + uses: crate-ci/typos@4253c3c3eeb21070d64586855b263ce9bc7224ae + with: + config: ${{github.workspace}}/.github/_typos.toml