diff --git a/internal/featuredetection/feature_detection.go b/internal/featuredetection/feature_detection.go index d289d025f..396d1eb5b 100644 --- a/internal/featuredetection/feature_detection.go +++ b/internal/featuredetection/feature_detection.go @@ -25,7 +25,7 @@ var allIssueFeatures = IssueFeatures{ type PullRequestFeatures struct { MergeQueue bool // CheckRunAndStatusContextCounts indicates whether the API supports - // the checkRunCount, checkRunCountsByState, statusContextCount and stausContextCountsByState + // the checkRunCount, checkRunCountsByState, statusContextCount and statusContextCountsByState // fields on the StatusCheckRollupContextConnection CheckRunAndStatusContextCounts bool CheckRunEvent bool diff --git a/pkg/cmd/attestation/verification/attestation_test.go b/pkg/cmd/attestation/verification/attestation_test.go index 1b3ed2cef..87a91cea9 100644 --- a/pkg/cmd/attestation/verification/attestation_test.go +++ b/pkg/cmd/attestation/verification/attestation_test.go @@ -97,6 +97,6 @@ func TestFilterAttestations(t *testing.T) { require.Len(t, filtered, 1) - filtered = FilterAttestations("NonExistantPredicate", attestations) + filtered = FilterAttestations("NonExistentPredicate", attestations) require.Len(t, filtered, 0) } diff --git a/pkg/cmd/cache/cache.go b/pkg/cmd/cache/cache.go index db62c5e81..897a3d9fd 100644 --- a/pkg/cmd/cache/cache.go +++ b/pkg/cmd/cache/cache.go @@ -11,8 +11,8 @@ import ( func NewCmdCache(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ Use: "cache ", - Short: "Manage Github Actions caches", - Long: "Work with Github Actions caches.", + Short: "Manage GitHub Actions caches", + Long: "Work with GitHub Actions caches.", Example: heredoc.Doc(` $ gh cache list $ gh cache delete --all diff --git a/pkg/cmd/cache/delete/delete.go b/pkg/cmd/cache/delete/delete.go index 9a0783eb6..4794d1fbe 100644 --- a/pkg/cmd/cache/delete/delete.go +++ b/pkg/cmd/cache/delete/delete.go @@ -34,9 +34,9 @@ func NewCmdDelete(f *cmdutil.Factory, runF func(*DeleteOptions) error) *cobra.Co cmd := &cobra.Command{ Use: "delete [| | --all]", - Short: "Delete Github Actions caches", + Short: "Delete GitHub Actions caches", Long: ` - Delete Github Actions caches. + Delete GitHub Actions caches. Deletion requires authorization with the "repo" scope. `, diff --git a/pkg/cmd/cache/list/list.go b/pkg/cmd/cache/list/list.go index fcf9874f5..f5aa8fd5a 100644 --- a/pkg/cmd/cache/list/list.go +++ b/pkg/cmd/cache/list/list.go @@ -39,7 +39,7 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman cmd := &cobra.Command{ Use: "list", - Short: "List Github Actions caches", + Short: "List GitHub Actions caches", Example: heredoc.Doc(` # List caches for current repository $ gh cache list diff --git a/pkg/cmd/org/org.go b/pkg/cmd/org/org.go index 9c44cf48a..bc95e9082 100644 --- a/pkg/cmd/org/org.go +++ b/pkg/cmd/org/org.go @@ -11,7 +11,7 @@ func NewCmdOrg(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ Use: "org ", Short: "Manage organizations", - Long: "Work with Github organizations.", + Long: "Work with GitHub organizations.", Example: heredoc.Doc(` $ gh org list `), diff --git a/pkg/cmd/secret/set/set.go b/pkg/cmd/secret/set/set.go index dcfd4df14..1e66e38a9 100644 --- a/pkg/cmd/secret/set/set.go +++ b/pkg/cmd/secret/set/set.go @@ -158,7 +158,7 @@ func NewCmdSet(f *cmdutil.Factory, runF func(*SetOptions) error) *cobra.Command cmdutil.StringEnumFlag(cmd, &opts.Visibility, "visibility", "v", shared.Private, []string{shared.All, shared.Private, shared.Selected}, "Set visibility for an organization secret") cmd.Flags().StringSliceVarP(&opts.RepositoryNames, "repos", "r", []string{}, "List of `repositories` that can access an organization or user secret") cmd.Flags().StringVarP(&opts.Body, "body", "b", "", "The value for the secret (reads from standard input if not specified)") - cmd.Flags().BoolVar(&opts.DoNotStore, "no-store", false, "Print the encrypted, base64-encoded value instead of storing it on Github") + cmd.Flags().BoolVar(&opts.DoNotStore, "no-store", false, "Print the encrypted, base64-encoded value instead of storing it on GitHub") cmd.Flags().StringVarP(&opts.EnvFile, "env-file", "f", "", "Load secret names and values from a dotenv-formatted `file`") cmdutil.StringEnumFlag(cmd, &opts.Application, "app", "a", "", []string{shared.Actions, shared.Codespaces, shared.Dependabot}, "Set the application for a secret")