Skip to content

Commit

Permalink
Merge pull request #198 from kubernetes-csi/codespell
Browse files Browse the repository at this point in the history
add codespell github action
  • Loading branch information
k8s-ci-robot authored Feb 16, 2022
2 parents 14b5f69 + 9e0e97d commit 713bbca
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# GitHub Action to automate the identification of common misspellings in text files.
# https://github.com/codespell-project/actions-codespell
# https://github.com/codespell-project/codespell
name: codespell
on: [push, pull_request]
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./release-tools/prow.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ spec:

## Community, discussion, contribution, and support

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

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

Expand Down
2 changes: 1 addition & 1 deletion client/api/system/v1alpha1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/api/system/v1alpha1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ message StopServiceRequest {
// Service name (as listed in System\CCS\Services keys)
string name = 1;

// Forces stopping of services that has dependant services
// Forces stopping of services that has dependent services
bool force = 2;
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/os/disk/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (DiskAPI) CreateBasicPartition(diskNumber uint32) error {
cmd := fmt.Sprintf("New-Partition -DiskNumber %d -UseMaximumSize", diskNumber)
out, err := utils.RunPowershellCmd(cmd)
if err != nil {
return fmt.Errorf("error creating parition on disk %d: %v, %v", diskNumber, out, err)
return fmt.Errorf("error creating partition on disk %d: %v, %v", diskNumber, out, err)
}
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/system/impl/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type StopServiceRequest struct {
// Service name (as listed in System\CCS\Services keys)
Name string

// Forces stopping of services that has dependant services
// Forces stopping of services that has dependent services
Force bool
}

Expand Down

0 comments on commit 713bbca

Please sign in to comment.