Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add codespell workflow #990

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4803816
add codespell
ghrunner Dec 10, 2024
891abaf
add codespell-2
ghrunner Dec 10, 2024
5ae7dea
add codespell-3
ghrunner Dec 10, 2024
f3dcdd3
codespell-fix
ghrunner Dec 10, 2024
d50295b
Merge pull request #1 from luszczewskakasia1/codespell
luszczewskakasia1 Dec 10, 2024
79771ad
codespell fix
ghrunner Dec 10, 2024
8edc488
codespell fix
luszczewskakasia1 Dec 10, 2024
9d009e2
codespell add workflow_dispatch
ghrunner Dec 10, 2024
e2347db
Merge pull request #3 from luszczewskakasia1/codespell
luszczewskakasia1 Dec 10, 2024
ad56cf9
run avaliable on two OS
luszczewskakasia1 Dec 11, 2024
2118e62
codespell avaliable on two latests OS
luszczewskakasia1 Dec 11, 2024
0539128
codespell workflow fix
luszczewskakasia1 Dec 11, 2024
4950205
codespell modified
ghrunner Dec 11, 2024
c575bb8
Remove the Coarse provider
ldorau Nov 29, 2024
517c6d1
Replace all NULL with nullptr in disjointCoarseMallocPool.cpp
ldorau Dec 5, 2024
cb9f3c6
Rename disjointCoarseMallocPool test to disjointPoolFileProv
ldorau Dec 5, 2024
ea7830a
Fix building the custom jemalloc
ldorau Dec 6, 2024
cd475ef
Remove the disable_provider_free parameter of jemalloc pool
ldorau Dec 6, 2024
eea53b5
Implement umfPool[Set/Get]Tag
igchor Dec 4, 2024
5c47744
codespell modified
ghrunner Dec 11, 2024
c749013
delete 'true'
ghrunner Dec 11, 2024
7c4d1ae
remove 'true' and add 'set -e'
ghrunner Dec 11, 2024
f191445
modify script
ghrunner Dec 11, 2024
af5b63a
debug script
ghrunner Dec 11, 2024
36eddc3
debug script
ghrunner Dec 11, 2024
63557be
codespell detecting hidden files
ghrunner Dec 11, 2024
151e79c
script fix
ghrunner Dec 11, 2024
2bde1bf
codespell modify
ghrunner Dec 11, 2024
ba5fa79
codespell modify
ghrunner Dec 11, 2024
f87b15e
Merge branch 'codespell'
ghrunner Dec 11, 2024
4652d83
codespell in correct workflow
ghrunner Dec 11, 2024
61b9726
codespell in correct workflow
ghrunner Dec 11, 2024
8fe0ebd
codespell added to workflow
ghrunner Dec 11, 2024
11de790
codespell in correct workflow
ghrunner Dec 11, 2024
f462de8
codespell fixed
ghrunner Dec 12, 2024
23a4add
codespell fixed
ghrunner Dec 12, 2024
9c33e29
codespell works within reusable_checks
ghrunner Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/scripts/codespell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

set -ex

SCAN_RESULT=`codespell -H --quiet-level=3 --skip="*.h,*.cmake,*.c,*.hpp,*.cpp,*.sh,*.py,test/supp/*.supp,./.venv" --ignore-words-list="ASSER,Tne,ba,BA"`
echo -e "${SCAN_RESULT}"
8 changes: 6 additions & 2 deletions .github/workflows/reusable_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python3 -m venv .venv
. .venv/bin/activate
echo "$PATH" >> $GITHUB_PATH
python3 -m pip install bandit
python3 -m pip install bandit codespell

- name: Configure CMake
run: >
Expand All @@ -55,7 +55,11 @@ jobs:
- name: Run a spell check
uses: crate-ci/typos@b63f421581dce830bda2f597a678cb7776b41877 # v1.18.2
with:
config: ./.github/workflows/.spellcheck-conf.toml
config: ./.github/workflows/.spellcheck-conf.toml

- name: Run codespell
run: |
bash .github/scripts/codespell.sh

# Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
- name: Run Bandit
Expand Down
1 change: 1 addition & 0 deletions 
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Loading