Add codespell support (config, workflow to detect/not fix) and make it fix some typos#1072
Open
yarikoptic wants to merge 3 commits into
Open
Add codespell support (config, workflow to detect/not fix) and make it fix some typos#1072yarikoptic wants to merge 3 commits into
yarikoptic wants to merge 3 commits into
Conversation
…nteractively
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w -i 3 -C 4",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces codespell support to the project to automatically detect spelling errors in the codebase. The changes add a configuration file for codespell settings and a GitHub Actions workflow to run spell checks on pushes and pull requests.
- Adds codespell configuration with appropriate exclusions for git files and checksums
- Creates a GitHub Actions workflow to run codespell checks with read-only permissions
- Fixes existing typos found in comment headers (correcting "Ths" to "The")
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .codespellrc | Configuration file defining codespell behavior and exclusions |
| .github/workflows/codespell.yml | GitHub Actions workflow to run spell checks on CI |
| internal/githubv4mock/query.go | Fixes typo in comment header |
| internal/githubv4mock/local_round_tripper.go | Fixes typo in comment header |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
punnamtharun-ux
approved these changes
Sep 18, 2025
|
في خميس، 18 سبتمبر، 2025 في 1:59 م، كتب punnamtharun-ux <
***@***.***>:
… ***@***.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
<#1072 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BWDNR3455IAXOMHLHYZYHUT3TKGC3AVCNFSM6AAAAACGBYAMA2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTEMZYHA3TEMRYHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Author
|
seems was approved, but never merged and CI seems stuck? I wonder what if anything to be done here? |
Collaborator
|
@yarikoptic it wasn't approved by anyone on the actual team, we will get back to it. Thanks for the contribution. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
More about codespell: https://github.com/codespell-project/codespell .
I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.
CI workflow has 'permissions' set only to 'read' so also should be safe.