From fe0b2cd673e112bbcd7175e03c81025007e0a410 Mon Sep 17 00:00:00 2001 From: Gianpaolo Macario Date: Mon, 22 Jan 2024 15:11:54 +0100 Subject: [PATCH] .github/workflows: Add spell-check.yml Copied from https://github.com/arduino/meta-partner-arduino/tree/main/.github/workflows --- .github/workflows/spell-check.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 0000000..83ad6bc --- /dev/null +++ b/.github/workflows/spell-check.yml @@ -0,0 +1,24 @@ +name: Spell Check + +# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows +on: + push: + pull_request: + schedule: + # Run every Tuesday at 8 AM UTC to catch new misspelling detections resulting from dictionary updates. + - cron: "0 8 * * TUE" + workflow_dispatch: + repository_dispatch: + +jobs: + spellcheck: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Spell check + uses: codespell-project/actions-codespell@master + +# EOF