diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 6c2c3009..ebac9567 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,country.csv,currency.csv -L fo,tne,zar . + lint: + uses: open-contracting/.github/.github/workflows/spellcheck.yml@main + with: + ignore: fo,tne,zar + skip: docson,locale,country.csv,currency.csv