From a6abdc58f3459d9e863b1ba7b17157de7d4b49dc Mon Sep 17 00:00:00 2001 From: Fabio Fantoni Date: Sun, 12 Nov 2023 13:36:20 +0100 Subject: [PATCH 1/2] add codespell github workflow --- .github/workflows/codespell.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000..0490b46d --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,15 @@ +name: Codespell +on: [pull_request] + +jobs: + check: + name: Check + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: codespell + uses: codespell-project/actions-codespell@v2 + with: + only_warn: 1 + skip: package-lock.json,*.svg \ No newline at end of file From bb047ff940c3d6f2c4b79e336683f34d4214998c Mon Sep 17 00:00:00 2001 From: Fabio Fantoni Date: Sun, 12 Nov 2023 13:53:01 +0100 Subject: [PATCH 2/2] fix some typo --- docker/README.md | 6 +++--- e2e-tests/create-test-env.sh | 2 +- e2e-tests/pages/access-control-page.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/README.md b/docker/README.md index 4df09b16..718c1e01 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,15 +1,15 @@ # Wiretrustee Dashboard -Wiretrustee Dashboard is a the Wiretrustee Managemenet server UI. It allow users to signin, view setup keys and manage peers. This image is **not ready** for production use. +Wiretrustee Dashboard is a the Wiretrustee Management server UI. It allow users to signin, view setup keys and manage peers. This image is **not ready** for production use. ## Tags ```latest``` ```vX.X.X``` not available yet. -```main``` builded on every PR being merged to the repository +```main``` built on every PR being merged to the repository ## How to use this image HTTP run: ```shell docker run -d --rm -p 80:80 wiretrustee/dashboard:main ``` -Using SSL certificate from Let's Encript®: +Using SSL certificate from Let's Encrypt®: ```shell docker run -d --rm -p 80:80 -p 443:443 \ -e LETSENCRYPT_DOMAIN=app.mydomain.com \ diff --git a/e2e-tests/create-test-env.sh b/e2e-tests/create-test-env.sh index 6f22f68d..0d8d8441 100644 --- a/e2e-tests/create-test-env.sh +++ b/e2e-tests/create-test-env.sh @@ -387,7 +387,7 @@ check_nb_domain() { if [ "$DOMAIN" == "netbird.example.com" ]; then echo "The NETBIRD_DOMAIN cannot be netbird.example.com" > /dev/stderr - retrun 1 + return 1 fi return 0 } diff --git a/e2e-tests/pages/access-control-page.ts b/e2e-tests/pages/access-control-page.ts index 1bce1711..81d7d0b8 100644 --- a/e2e-tests/pages/access-control-page.ts +++ b/e2e-tests/pages/access-control-page.ts @@ -17,7 +17,7 @@ export class AccessControlPage { } async assertDefaultAccessCotrolIsCreated() { - await test.step('Assert that default cotrol access is created', async () => { + await test.step('Assert that default control access is created', async () => { await expect(this.defaulAccessControl).toBeVisible(); }) }