Skip to content

Commit

Permalink
fix typos in document, tests, and file names
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Oct 26, 2024
1 parent e10484a commit c84589e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2846,7 +2846,7 @@ action_metadata_syntax_validation.yaml:8:15: "env" is not allowed in "runs" sect
<!-- Skip playground link -->
All actions require a metadata file `action.yml` or `aciton.yaml`. The syntax is defined in [the official document][action-metadata-doc].
All actions require a metadata file `action.yml` or `action.yaml`. The syntax is defined in [the official document][action-metadata-doc].
actionlint checks metadata files used in workflows and reports errors when they are not following the syntax.
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-checks/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func testErr(t *testing.T, err error, want ...string) {
msg := err.Error()
for _, w := range want {
if !strings.Contains(msg, w) {
t.Errorf("error message %q does not cotnain expected text %q", msg, w)
t.Errorf("error message %q does not contain expected text %q", msg, w)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
# Function overloads can be handled properly. contains() has string version and array version
- run: echo "${{ contains('hello, world', 'lo,') }}"
- run: echo "${{ contains(github.event.labels.*.name, 'enhancement') }}"
# format() has a special check for formating string
# format() has a special check for formatting string
- run: echo "${{ format('{0}{1}', 1, 2, 3) }}"

0 comments on commit c84589e

Please sign in to comment.