mirror of https://github.com/TheAlgorithms/C
chore: minor LeetCode directory workflow improvements (#1247)
* updating DIRECTORY.md * chore: minor LeetCode directory work... ...flow improvements. * updating DIRECTORY.md --------- Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
This commit is contained in:
parent
71a7cf3bc4
commit
aae2aac1ff
|
@ -21,7 +21,6 @@ jobs:
|
||||||
- name: Write LeetCode DIRECTORY.md
|
- name: Write LeetCode DIRECTORY.md
|
||||||
run: |
|
run: |
|
||||||
python3 scripts/leetcode_directory_md.py 2>&1 | tee leetcode/DIRECTORY.md
|
python3 scripts/leetcode_directory_md.py 2>&1 | tee leetcode/DIRECTORY.md
|
||||||
git pull || true
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
id: commit-push
|
id: commit-push
|
||||||
|
@ -34,6 +33,5 @@ jobs:
|
||||||
if: steps.commit-push.outputs.changes_detected == 'true'
|
if: steps.commit-push.outputs.changes_detected == 'true'
|
||||||
run: |
|
run: |
|
||||||
gh pr create --base ${GITHUB_REF##*/} --head leetcode-directory-${{ github.sha }} --title 'docs: updating `leetcode/DIRECTORY.md`' --body 'Updated LeetCode directory (see the diff. for changes).'
|
gh pr create --base ${GITHUB_REF##*/} --head leetcode-directory-${{ github.sha }} --title 'docs: updating `leetcode/DIRECTORY.md`' --body 'Updated LeetCode directory (see the diff. for changes).'
|
||||||
gh pr merge --admin --merge --subject 'docs: updating `leetcode/DIRECTORY.md' --delete-branch
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
|
@ -148,6 +148,7 @@
|
||||||
* [Word Count](https://github.com/TheAlgorithms/C/blob/HEAD/exercism/word_count/word_count.h)
|
* [Word Count](https://github.com/TheAlgorithms/C/blob/HEAD/exercism/word_count/word_count.h)
|
||||||
|
|
||||||
## Games
|
## Games
|
||||||
|
* [Hangman](https://github.com/TheAlgorithms/C/blob/HEAD/games/hangman.c)
|
||||||
* [Naval Battle](https://github.com/TheAlgorithms/C/blob/HEAD/games/naval_battle.c)
|
* [Naval Battle](https://github.com/TheAlgorithms/C/blob/HEAD/games/naval_battle.c)
|
||||||
* [Tic Tac Toe](https://github.com/TheAlgorithms/C/blob/HEAD/games/tic_tac_toe.c)
|
* [Tic Tac Toe](https://github.com/TheAlgorithms/C/blob/HEAD/games/tic_tac_toe.c)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue