From 3bed0e97b329eb242967e641624696860eaa9d5d Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Mon, 25 Nov 2024 14:14:11 -0500 Subject: [PATCH] ci: Reuse workflow for spellcheck --- .github/workflows/spellcheck.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 6da55f1..661c720 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -1,13 +1,8 @@ name: Spell-check on: [push, pull_request] jobs: - build: - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - run: pip install codespell - - run: codespell -S .git,docson,locale,currency.csv -L zar . + lint: + uses: open-contracting/.github/.github/workflows/spellcheck.yml@main + with: + ignore: zar + skip: docson,locale,currency.csv