Skip to content

Commit

Permalink
fixed spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuligin committed Feb 17, 2024
1 parent 4ce399e commit 4899e43
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
name: CI / cd . / make spell_check
name: make spell_check

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
inputs:
working-directory:
required: true
type: string
description: "From which folder this pipeline executes"

permissions:
contents: read
Expand All @@ -24,6 +26,7 @@ jobs:
pip install toml
- name: Extract Ignore Words List
working-directory: ${{ inputs.working-directory }}
run: |
# Use a Python script to extract the ignore words list from pyproject.toml
python .github/workflows/extract_ignored_words_list.py
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/check_diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ jobs:
python .github/scripts/check_diff.py ${{ steps.files.outputs.all }} >> $GITHUB_OUTPUT
outputs:
dirs-to-run: ${{ steps.set-matrix.outputs.dirs-to-run }}
codespell:
name: cd ${{ matrix.working-directory }}
needs: [build]
strategy:
matrix:
working-directory: ${{ fromJson(needs.build.outputs.dirs-to-run) }}
uses: ./.github/workflows/_codespell.yml
with:
working-directory: ${{ matrix.working-directory }}

ci:
name: cd ${{ matrix.working-directory }}
needs: [ build ]
Expand All @@ -40,5 +50,3 @@ jobs:
uses: ./.github/workflows/_all_ci.yml
with:
working-directory: ${{ matrix.working-directory }}


0 comments on commit 4899e43

Please sign in to comment.