Skip to content

Commit

Permalink
chore(ci/pr): add codespell workflow, make it fix a typo (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic authored Apr 10, 2024
1 parent d837f29 commit e6ebe4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
skip = .git,.codespellrc
check-hidden = true
# ignore-regex =
# ignore-words-list =
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function main(toolchain: "respec" | "bikeshed" | string) {
break;
}
default: {
const msg = `Envirnoment variable "INPUTS_TOOLCHAIN" must be either one of "respec" or "bikeshed". found "${toolchain}"`;
const msg = `Environment variable "INPUTS_TOOLCHAIN" must be either one of "respec" or "bikeshed". found "${toolchain}"`;
exit(msg, 1);
}
}
Expand Down

0 comments on commit e6ebe4e

Please sign in to comment.