Skip to content

Commit 713bbca

Browse files
authored
Merge pull request #198 from kubernetes-csi/codespell
add codespell github action
2 parents 14b5f69 + 9e0e97d commit 713bbca

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

.github/workflows/codespell.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# GitHub Action to automate the identification of common misspellings in text files.
2+
# https://github.com/codespell-project/actions-codespell
3+
# https://github.com/codespell-project/codespell
4+
name: codespell
5+
on: [push, pull_request]
6+
jobs:
7+
codespell:
8+
name: Check for spelling errors
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: codespell-project/actions-codespell@master
13+
with:
14+
check_filenames: true
15+
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./release-tools/prow.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ spec:
160160

161161
## Community, discussion, contribution, and support
162162

163-
Check out [development.md](./docs/DEVELOPMENT.md) for instructions to set up a development enviroment to run CSI Proxy.
163+
Check out [development.md](./docs/DEVELOPMENT.md) for instructions to set up a development environment to run CSI Proxy.
164164

165165
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).
166166

client/api/system/v1alpha1/api.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/api/system/v1alpha1/api.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ message StopServiceRequest {
4545
// Service name (as listed in System\CCS\Services keys)
4646
string name = 1;
4747

48-
// Forces stopping of services that has dependant services
48+
// Forces stopping of services that has dependent services
4949
bool force = 2;
5050
}
5151

pkg/os/disk/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (DiskAPI) CreateBasicPartition(diskNumber uint32) error {
167167
cmd := fmt.Sprintf("New-Partition -DiskNumber %d -UseMaximumSize", diskNumber)
168168
out, err := utils.RunPowershellCmd(cmd)
169169
if err != nil {
170-
return fmt.Errorf("error creating parition on disk %d: %v, %v", diskNumber, out, err)
170+
return fmt.Errorf("error creating partition on disk %d: %v, %v", diskNumber, out, err)
171171
}
172172
return nil
173173
}

pkg/server/system/impl/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type StopServiceRequest struct {
2020
// Service name (as listed in System\CCS\Services keys)
2121
Name string
2222

23-
// Forces stopping of services that has dependant services
23+
// Forces stopping of services that has dependent services
2424
Force bool
2525
}
2626

0 commit comments

Comments
 (0)