diff --git a/README.md b/README.md index 3ce5aa8..f3e0160 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens. -Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label. +Next we tag the PR's with the fixes or enhancements labels. If the PR does not fulfil the requirements, do not add a label. Run the changelog generator again with the future version according to semver. diff --git a/drone/client.go b/drone/client.go index c9657fe..189b385 100644 --- a/drone/client.go +++ b/drone/client.go @@ -334,7 +334,7 @@ func (c *client) Promote(namespace, name string, build int, target string, param return out, err } -// Roolback reverts the target environment to an previous build. +// Rollback reverts the target environment to an previous build. func (c *client) Rollback(namespace, name string, build int, target string, params map[string]string) (*Build, error) { out := new(Build) val := mapValues(params) diff --git a/drone/interface.go b/drone/interface.go index d84ae6f..f6d039a 100644 --- a/drone/interface.go +++ b/drone/interface.go @@ -20,7 +20,7 @@ import ( // TODO(bradrydzewski) add repo + latest build endpoint // TODO(bradrydzewski) add queue endpoint -// TDOO(bradrydzewski) add stats endpoint +// TODO(bradrydzewski) add stats endpoint // TODO(bradrydzewski) add version endpoint // Client is used to communicate with a Drone server. @@ -85,7 +85,7 @@ type Client interface { // RepoDisable disables a repository. RepoDisable(namespace, name string) error - // RepoDelete permanetnly deletes a repository. + // RepoDelete permanently deletes a repository. RepoDelete(namespace, name string) error // Build returns a repository build by number. diff --git a/plugin/config/handler_test.go b/plugin/config/handler_test.go index 0badbc0..53ef903 100644 --- a/plugin/config/handler_test.go +++ b/plugin/config/handler_test.go @@ -46,7 +46,7 @@ func TestHandler(t *testing.T) { want := &drone.Config{ Kind: "drone.v1.yaml", - Data: "pipeilne: []", + Data: "pipeline: []", } plugin := &mockPlugin{ res: want, diff --git a/plugin/internal/aesgcm/aesgcm.go b/plugin/internal/aesgcm/aesgcm.go index 94defa1..9a08b9f 100644 --- a/plugin/internal/aesgcm/aesgcm.go +++ b/plugin/internal/aesgcm/aesgcm.go @@ -48,7 +48,7 @@ func Encrypt(plaintext []byte, key *[32]byte) (ciphertext []byte, err error) { return gcm.Seal(nonce, nonce, plaintext, nil), nil } -// Decrypt decrypts the raw, unencoded cihpertext with the provided key. +// Decrypt decrypts the raw, unencoded ciphertext with the provided key. func Decrypt(ciphertext []byte, key *[32]byte) (plaintext []byte, err error) { block, err := aes.NewCipher(key[:]) if err != nil { diff --git a/plugin/validator/validater.go b/plugin/validator/validator.go similarity index 100% rename from plugin/validator/validater.go rename to plugin/validator/validator.go