mirror of
https://github.com/makeplane/plane.git
synced 2025-12-15 19:37:51 +01:00
* Add github action to codespell preview on push and PRs
* Add rudimentary codespell config
* [DATALAD RUNCMD] chore: run codespell throughout fixing a few typos interactively
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w -i 3 -C 4 ./apps/web/core/components/workspace/delete-workspace-form.tsx ./deployments/cli/community/README.md",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
* Adjust coespell regex to ignore all camelCased words
* [DATALAD RUNCMD] chore: run codespell throughout fixing a few new typos automagically
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
26 lines
511 B
YAML
26 lines
511 B
YAML
# Codespell configuration is within .codespellrc
|
|
---
|
|
name: Codespell
|
|
|
|
on:
|
|
push:
|
|
branches: [preview]
|
|
pull_request:
|
|
branches: [preview]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
codespell:
|
|
name: Check for spelling errors
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Annotate locations with typos
|
|
uses: codespell-project/codespell-problem-matcher@v1
|
|
- name: Codespell
|
|
uses: codespell-project/actions-codespell@v2
|