From 5800ab35305fde1566d69d52a39ed2c2ac880f42 Mon Sep 17 00:00:00 2001 From: gichan2-jang Date: Mon, 1 Jul 2024 14:20:16 +0900 Subject: [PATCH] [Actions] Add spell checker Add spell checker github action. Signed-off-by: gichan2-jang --- .github/workflows/_typos.toml | 4 ++++ .github/workflows/spell-checker.yml | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/_typos.toml create mode 100644 .github/workflows/spell-checker.yml diff --git a/.github/workflows/_typos.toml b/.github/workflows/_typos.toml new file mode 100644 index 0000000..4cbdbc8 --- /dev/null +++ b/.github/workflows/_typos.toml @@ -0,0 +1,4 @@ +[files] +extend-exclude = [] + +[default.extend-words] diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml new file mode 100644 index 0000000..ffa0b91 --- /dev/null +++ b/.github/workflows/spell-checker.yml @@ -0,0 +1,17 @@ +name: Spell Check + +on: + pull_request: + branches: [ main ] + +jobs: + typos-check: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + - name: Check spelling + uses: crate-ci/typos@master + with: + config: ./.github/workflows/_typos.toml -- 2.34.1