aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-07-26 07:33:34 +0200
committerGitHub <noreply@github.com>2021-07-25 22:33:34 -0700
commit03186b27c6fc90da11561f48f442e2099ee9bf77 (patch)
tree6dd4e3730e44539e68ca9e58aa1a04d506ef605f /.github
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.tar
nvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.tar.gz
nvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.tar.bz2
nvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.tar.lz
nvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.tar.xz
nvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.tar.zst
nvim-lspconfig-03186b27c6fc90da11561f48f442e2099ee9bf77.zip
ci: run codespell on pull requests (#1101)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codespell.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
new file mode 100644
index 00000000..0cf18520
--- /dev/null
+++ b/.github/workflows/codespell.yml
@@ -0,0 +1,21 @@
+name: codespell
+on: [pull_request]
+jobs:
+ codespell:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v2
+ with:
+ fetch-depth: 0
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install codespell
+ - name: Use codespell
+ run: |
+ codespell --quiet-level=2 --check-hidden --skip=CONFIG.md --ignore-words=.codespellignorewords || exit