🔄 synced file(s) with kubecub/go-project-layout #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test repository spelling check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run: | |
name: Spell Check with Typos | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@v2 | |
- name: Check spelling of md | |
uses: crate-ci/typos@master | |
with: | |
files: | |
./CONTIRIBUTING.md | |
./README.md | |
- name: Use custom config file | |
uses: crate-ci/typos@master | |
with: | |
files: ./file.txt | |
config: ./myconfig.toml | |
- name: Ignore implicit configuration file | |
uses: crate-ci/typos@master | |
with: | |
files: ./file.txt | |
isolated: true | |
- name: Writes changes in the local checkout | |
uses: crate-ci/typos@master | |
with: | |
write_changes: true |