diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..35a6968 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,5 @@ +[codespell] +skip = ./.git,./go.local.sum +check-filenames = +check-hidden = +quiet = 2 diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..748e816 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,10 @@ +--- +name: push +on: + - push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3 + - uses: codespell-project/actions-codespell@master diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index db4d9a7..0792b01 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -94,7 +94,7 @@ syntax/tree.go (from RegexTree.cs and RegexNode.cs): ported literally as possibl syntax/writer.go (from RegexWriter.cs): ported literally with minor changes to make it more Go-ish. -match.go (from RegexMatch.cs): ported, simplified, and changed to handle Go's lack of inheritence. +match.go (from RegexMatch.cs): ported, simplified, and changed to handle Go's lack of inheritance. regexp.go (from Regex.cs and RegexOptions.cs): conceptually serves the same "starting point", but is simplified and changed to handle differences in C# strings and Go strings/runes. diff --git a/pkg/resource/group/resource.go b/pkg/resource/group/resource.go index 7baea38..7c88620 100644 --- a/pkg/resource/group/resource.go +++ b/pkg/resource/group/resource.go @@ -45,7 +45,7 @@ func (r *resource) Identifiers() acktypes.AWSResourceIdentifiers { } // IsBeingDeleted returns true if the Kubernetes resource has a non-zero -// deletion timestemp +// deletion timestamp func (r *resource) IsBeingDeleted() bool { return !r.ko.DeletionTimestamp.IsZero() } diff --git a/pkg/resource/open_id_connect_provider/resource.go b/pkg/resource/open_id_connect_provider/resource.go index f2bf4d1..77d00f6 100644 --- a/pkg/resource/open_id_connect_provider/resource.go +++ b/pkg/resource/open_id_connect_provider/resource.go @@ -45,7 +45,7 @@ func (r *resource) Identifiers() acktypes.AWSResourceIdentifiers { } // IsBeingDeleted returns true if the Kubernetes resource has a non-zero -// deletion timestemp +// deletion timestamp func (r *resource) IsBeingDeleted() bool { return !r.ko.DeletionTimestamp.IsZero() } diff --git a/pkg/resource/policy/resource.go b/pkg/resource/policy/resource.go index 2314926..9d673f7 100644 --- a/pkg/resource/policy/resource.go +++ b/pkg/resource/policy/resource.go @@ -45,7 +45,7 @@ func (r *resource) Identifiers() acktypes.AWSResourceIdentifiers { } // IsBeingDeleted returns true if the Kubernetes resource has a non-zero -// deletion timestemp +// deletion timestamp func (r *resource) IsBeingDeleted() bool { return !r.ko.DeletionTimestamp.IsZero() } diff --git a/pkg/resource/role/resource.go b/pkg/resource/role/resource.go index 3913d27..3775b5c 100644 --- a/pkg/resource/role/resource.go +++ b/pkg/resource/role/resource.go @@ -45,7 +45,7 @@ func (r *resource) Identifiers() acktypes.AWSResourceIdentifiers { } // IsBeingDeleted returns true if the Kubernetes resource has a non-zero -// deletion timestemp +// deletion timestamp func (r *resource) IsBeingDeleted() bool { return !r.ko.DeletionTimestamp.IsZero() } diff --git a/pkg/resource/user/resource.go b/pkg/resource/user/resource.go index ec1b57d..ee6bc4e 100644 --- a/pkg/resource/user/resource.go +++ b/pkg/resource/user/resource.go @@ -45,7 +45,7 @@ func (r *resource) Identifiers() acktypes.AWSResourceIdentifiers { } // IsBeingDeleted returns true if the Kubernetes resource has a non-zero -// deletion timestemp +// deletion timestamp func (r *resource) IsBeingDeleted() bool { return !r.ko.DeletionTimestamp.IsZero() }