From 3b48d72ebb7a400bea1c128da5a690e9c275b35b Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 25 Jan 2024 13:58:42 +0300 Subject: [PATCH 1/2] ci: check for typos closes #130 --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 660d4166..960cd035 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,5 +34,7 @@ jobs: run: bun install - name: Format run: bun fmt:ci + - name: typos-action + uses: crate-ci/typos@v1.17.2 - name: Lint run: bun lint From be5fc8e197d56db3a9db6b2208ddf324aff9d6be Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Fri, 26 Jan 2024 01:07:06 +0300 Subject: [PATCH 2/2] fix misc. typos --- CONTRIBUTING.md | 2 +- exoscale-instance-type/README.md | 4 ++-- filebrowser/main.test.ts | 6 +++--- filebrowser/run.sh | 2 +- jfrog-oauth/README.md | 2 +- new.sh | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b45c1f37..900e83a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ To create a new module, clone this repository and run: ```shell -./new.sh MOUDLE_NAME +./new.sh MODULE_NAME ``` ## Testing a Module diff --git a/exoscale-instance-type/README.md b/exoscale-instance-type/README.md index 4868c9fc..bb5c37ac 100644 --- a/exoscale-instance-type/README.md +++ b/exoscale-instance-type/README.md @@ -10,7 +10,7 @@ tags: [helper, parameter, instances, exoscale] # exoscale-instance-type A parameter with all Exoscale instance types. This allows developers to select -their desired virtuell machine for the workspace. +their desired virtual machine for the workspace. Customize the preselected parameter value: @@ -70,7 +70,7 @@ resource "coder_metadata" "workspace_info" { ![Exoscale instance types Custom](../.images/exoscale-instance-custom.png) -### Use category and exlude type +### Use category and exclude type Show only gpu1 types diff --git a/filebrowser/main.test.ts b/filebrowser/main.test.ts index 7541e65c..79dd99d0 100644 --- a/filebrowser/main.test.ts +++ b/filebrowser/main.test.ts @@ -33,7 +33,7 @@ describe("filebrowser", async () => { expect(output.stdout).toEqual([ "\u001b[0;1mInstalling filebrowser ", "", - "🥳 Installation comlete! ", + "🥳 Installation complete! ", "", "👷 Starting filebrowser in background... ", "", @@ -55,7 +55,7 @@ describe("filebrowser", async () => { expect(output.stdout).toEqual([ "\u001b[0;1mInstalling filebrowser ", "", - "🥳 Installation comlete! ", + "🥳 Installation complete! ", "", "👷 Starting filebrowser in background... ", "", @@ -77,7 +77,7 @@ describe("filebrowser", async () => { expect(output.stdout).toEqual([ "\u001B[0;1mInstalling filebrowser ", "", - "🥳 Installation comlete! ", + "🥳 Installation complete! ", "", "👷 Starting filebrowser in background... ", "", diff --git a/filebrowser/run.sh b/filebrowser/run.sh index 0cbf8f47..8744edba 100644 --- a/filebrowser/run.sh +++ b/filebrowser/run.sh @@ -5,7 +5,7 @@ printf "$${BOLD}Installing filebrowser \n\n" curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash -printf "🥳 Installation comlete! \n\n" +printf "🥳 Installation complete! \n\n" printf "👷 Starting filebrowser in background... \n\n" diff --git a/jfrog-oauth/README.md b/jfrog-oauth/README.md index f81d837d..aaac2603 100644 --- a/jfrog-oauth/README.md +++ b/jfrog-oauth/README.md @@ -62,7 +62,7 @@ artifactory: > Note > Replace `CODER_URL` with your Coder deployment URL, e.g., -2. Add a new [external authetication](https://coder.com/docs/v2/latest/admin/external-auth) to Coder by setting these env variables, +2. Add a new [external authentication](https://coder.com/docs/v2/latest/admin/external-auth) to Coder by setting these env variables, ```env # JFrog Artifactory External Auth diff --git a/new.sh b/new.sh index e35e8605..514ce4d2 100755 --- a/new.sh +++ b/new.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# This scripts creates a new sample moduledir with requried files +# This scripts creates a new sample moduledir with required files # Run it like : ./new.sh my-module MODULE_NAME=$1 @@ -11,7 +11,7 @@ if [ -z "$MODULE_NAME" ]; then exit 1 fi -# Create module directory and exit if it alredy exists +# Create module directory and exit if it already exists if [ -d "$MODULE_NAME" ]; then echo "Module with name $MODULE_NAME already exists" echo "Please choose a different name"