From d03b076449a7acdd85f5d26cd2eb16946cedd301 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Fri, 21 Oct 2022 15:14:16 +0800 Subject: [PATCH] build: add spell-check.yml action. --- .github/workflows/spell-check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/spell-check.yml diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml new file mode 100644 index 0000000000..675d229bdd --- /dev/null +++ b/.github/workflows/spell-check.yml @@ -0,0 +1,22 @@ +# refer to https://github.com/crate-ci/typos/blob/master/docs/github-action.md +name: Spell Check +on: + workflow_dispatch: + inputs: + branch: + description: 'Repo branch' + required: true + default: "main" + +jobs: + run: + name: Spell Check + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.event.inputs.branch }} + + - name: Check + uses: crate-ci/typos@master \ No newline at end of file