feat: Use the new filename_formatter workflow (#1190)

* updating DIRECTORY.md

* using script action for filename formatting

Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
This commit is contained in:
Taj 2022-12-22 04:39:23 +00:00 committed by GitHub
parent ad24ee1273
commit cafd06725c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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)