mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 01:29:53 +00:00
Remove codespell from Drone, add to GH Actions (#6004)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
24
.github/workflows/spellcheck.yaml
vendored
Normal file
24
.github/workflows/spellcheck.yaml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Codespell
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch: {}
|
||||
jobs:
|
||||
spellcheck:
|
||||
name: Spell Check
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Set up Python 🐍
|
||||
uses: actions/setup-python@v4
|
||||
- name: Install codespell
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install codespell
|
||||
- name: Check spelling
|
||||
run: codespell --skip=.git,./scripts,MAINTAINERS,LICENSE,go.mod,go.sum --check-filenames --ignore-words-list=ba
|
||||
Reference in New Issue
Block a user