Skip to content

Commit

Permalink
codespell: add GH Action for checking spelling issues
Browse files Browse the repository at this point in the history
After fixing all spelling issues in prometheus-community#892, this will prevent us for
adding new ones.

Signed-off-by: Mario Trangoni <[email protected]>
  • Loading branch information
mjtrangoni committed Jan 2, 2022
1 parent 746158d commit a8eefae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,24 @@ jobs:
if: ${{ failure() }}
run: golangci-lint run --timeout=5m -c .golangci.yaml

codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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
ignore_words_list: calle

build:
runs-on: windows-2019
needs:
- test
- lint
- codespell
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit a8eefae

Please sign in to comment.