Skip to content

Commit f9814e1

Browse files
authored
add codespell github workflow and fix some typo (netbirdio#296)
* add codespell github workflow * fix some typo
1 parent 2f800bf commit f9814e1

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.github/workflows/codespell.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Codespell
2+
on: [pull_request]
3+
4+
jobs:
5+
check:
6+
name: Check
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
- name: codespell
12+
uses: codespell-project/actions-codespell@v2
13+
with:
14+
only_warn: 1
15+
skip: package-lock.json,*.svg

docker/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Wiretrustee Dashboard
2-
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.
2+
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.
33
## Tags
44
```latest``` ```vX.X.X``` not available yet.
55

6-
```main``` builded on every PR being merged to the repository
6+
```main``` built on every PR being merged to the repository
77
## How to use this image
88
HTTP run:
99
```shell
1010
docker run -d --rm -p 80:80 wiretrustee/dashboard:main
1111
```
12-
Using SSL certificate from Let's Encript®:
12+
Using SSL certificate from Let's Encrypt®:
1313
```shell
1414
docker run -d --rm -p 80:80 -p 443:443 \
1515
-e LETSENCRYPT_DOMAIN=app.mydomain.com \

e2e-tests/create-test-env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ check_nb_domain() {
387387

388388
if [ "$DOMAIN" == "netbird.example.com" ]; then
389389
echo "The NETBIRD_DOMAIN cannot be netbird.example.com" > /dev/stderr
390-
retrun 1
390+
return 1
391391
fi
392392
return 0
393393
}

e2e-tests/pages/access-control-page.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class AccessControlPage {
1717
}
1818

1919
async assertDefaultAccessCotrolIsCreated() {
20-
await test.step('Assert that default cotrol access is created', async () => {
20+
await test.step('Assert that default control access is created', async () => {
2121
await expect(this.defaulAccessControl).toBeVisible();
2222
})
2323
}

0 commit comments

Comments
 (0)