-
Notifications
You must be signed in to change notification settings - Fork 24
ci: detect misspellings using typos-cli during tests #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9f54cae
09db64f
5b49077
656afdf
434fb79
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,7 @@ jobs: | |
|
|
||
| # Monitor code coverage and TODO/FIXME-type comments | ||
| health-score: | ||
| name: Health score | ||
| needs: lint-test | ||
| runs-on: macos-latest | ||
| steps: | ||
|
|
@@ -55,6 +56,8 @@ jobs: | |
| uses: actions/[email protected] | ||
| with: | ||
| go-version: "1.24.2" | ||
| - name: Check spelling | ||
| uses: crate-ci/[email protected] | ||
| - name: Report health score | ||
| uses: slackapi/[email protected] | ||
| with: | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,20 @@ | ||||||||||||||||||||||||||||||||||
| # Copyright 2022-2025 Salesforce, Inc. | ||||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||||||||||||||||||||||||||||||||||
| # you may not use this file except in compliance with the License. | ||||||||||||||||||||||||||||||||||
| # You may obtain a copy of the License at | ||||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||||||||||||||||||||||||||||||||||
| # | ||||||||||||||||||||||||||||||||||
| # Unless required by applicable law or agreed to in writing, software | ||||||||||||||||||||||||||||||||||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||||||||||||||||||||||||||||||||||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||||||||||||||||||||||||||||||||
| # See the License for the specific language governing permissions and | ||||||||||||||||||||||||||||||||||
| # limitations under the License. | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| [default] | ||||||||||||||||||||||||||||||||||
| extend-ignore-identifiers-re = [ | ||||||||||||||||||||||||||||||||||
| "alle", | ||||||||||||||||||||||||||||||||||
| "groupe", | ||||||||||||||||||||||||||||||||||
|
Comment on lines
+17
to
+18
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are slack-cli/internal/pkg/create/constants.go Lines 210 to 225 in f3ba824
|
||||||||||||||||||||||||||||||||||
| "UE1", | ||||||||||||||||||||||||||||||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This pattern appears as a testing placeholder sometimes! slack-cli/internal/prompts/app_select_test.go Line 4042 in f3ba824
|
||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,7 @@ func NewLoginCommand(clients *shared.ClientFactory) *cobra.Command { | |
| Example: style.ExampleCommandsf([]style.ExampleCommand{ | ||
| {Command: "auth login", Meaning: "Login to a Slack account with prompts"}, | ||
| {Command: "auth login --no-prompt", Meaning: "Login to a Slack account without prompts, this returns a ticket"}, | ||
| {Command: "auth login --challenge 6d0a31c9 --ticket ISQWLiZT0OtMLO3YWNTJO0...", Meaning: "Complete login using ticket and challenge code"}, | ||
| {Command: "auth login --challenge 6d0a31c9 --ticket ISQWLiZT0tOMLO3YWNTJO0...", Meaning: "Complete login using ticket and challenge code"}, | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| {Command: "auth login --token xoxp-...", Meaning: "Login with a user token"}, | ||
| }), | ||
| RunE: func(cmd *cobra.Command, args []string) error { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.