diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index 676a0b6d..cf6212b3 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -23,10 +23,9 @@ jobs: git config --global user.name github-actions[bot] git config --global user.email 'github-actions@users.noreply.github.com' - name: Filename Formatter - run: | - wget https://raw.githubusercontent.com/TheAlgorithms/scripts/main/filename_formatter.sh - chmod +x filename_formatter.sh - ./filename_formatter.sh . .c,.h + uses: TheAlgorithms/scripts/formatter@main + with: + filetypes: .c,.h - name: Update DIRECTORY.md run: | wget https://raw.githubusercontent.com/TheAlgorithms/scripts/main/build_directory_md.py diff --git a/DIRECTORY.md b/DIRECTORY.md index a32a7e61..c58820df 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -212,6 +212,7 @@ * [2130](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2130.c) * [215](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/215.c) * [217](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/217.c) + * [2222](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2222.c) * [223](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/223.c) * [226](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/226.c) * [2270](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2270.c) @@ -219,6 +220,7 @@ * [2304](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/2304.c) * [231](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/231.c) * [234](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/234.c) + * [236](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/236.c) * [24](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/24.c) * [242](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/242.c) * [26](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/26.c) @@ -234,6 +236,7 @@ * [344](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/344.c) * [35](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/35.c) * [367](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/367.c) + * [37](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/37.c) * [38](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/38.c) * [387](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/387.c) * [389](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/389.c)