This is an automated email from the ASF dual-hosted git repository.

shoothzj pushed a commit to branch typo-check
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 924336d5e4d2d6e4122a8c7ef39c0a591f6dbbac
Author: ZhangJian He <shoot...@gmail.com>
AuthorDate: Sat May 18 08:37:05 2024 +0800

    test typo
    
    Signed-off-by: ZhangJian He <shoot...@gmail.com>
---
 .github/workflows/bk-ci.yml                                          | 2 ++
 .github/workflows/owasp-daily-build.yml                              | 5 +++++
 .../org/apache/bookkeeper/common/util/TestSharedResourceManager.java | 2 +-
 src/typos.toml                                                       | 2 ++
 4 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml
index 179ced9b52..3f79b23d70 100644
--- a/.github/workflows/bk-ci.yml
+++ b/.github/workflows/bk-ci.yml
@@ -486,6 +486,8 @@ jobs:
       - uses: actions/checkout@v4
       - name: Check typos
         uses: crate-ci/typos@master
+        with:
+          config: src/typos.toml
 
   owasp-dependency-check:
     name: OWASP Dependency Check
diff --git a/.github/workflows/owasp-daily-build.yml 
b/.github/workflows/owasp-daily-build.yml
index 88dea1712c..73989375d5 100644
--- a/.github/workflows/owasp-daily-build.yml
+++ b/.github/workflows/owasp-daily-build.yml
@@ -32,6 +32,11 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
 
+      - name: Check typos
+        uses: crate-ci/typos@master
+        with:
+          config: src/typos.toml
+
       - name: Set up JDK 21
         uses: actions/setup-java@v4
         with:
diff --git 
a/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
 
b/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
index fab622f0c7..be09259aed 100644
--- 
a/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
+++ 
b/bookkeeper-common/src/test/java/org/apache/bookkeeper/common/util/TestSharedResourceManager.java
@@ -98,7 +98,7 @@ public class TestSharedResourceManager {
         assertEquals(SharedResourceManager.DESTROY_DELAY_SECONDS,
             scheduledDestroyTask.getDelay(TimeUnit.SECONDS));
 
-        // Simluate that the destroyer executes the foo destroying task
+        // Simulate that the destroyer executes the foo destroying task
         scheduledDestroyTask.runTask();
         assertTrue(sharedFoo.closed);
 
diff --git a/src/typos.toml b/src/typos.toml
new file mode 100644
index 0000000000..48bacf033e
--- /dev/null
+++ b/src/typos.toml
@@ -0,0 +1,2 @@
+[default.extend-words]
+"vertx" = "vertx"

Reply via email to