Skip to content

Commit aae2aac

Browse files
Panquesito7github-actions[bot]
andauthored
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] <[email protected]>
1 parent 71a7cf3 commit aae2aac

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/leetcode_directory_writer.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- name: Write LeetCode DIRECTORY.md
2222
run: |
2323
python3 scripts/leetcode_directory_md.py 2>&1 | tee leetcode/DIRECTORY.md
24-
git pull || true
2524
- name: Commit and push changes
2625
uses: stefanzweifel/git-auto-commit-action@v4
2726
id: commit-push
@@ -34,6 +33,5 @@ jobs:
3433
if: steps.commit-push.outputs.changes_detected == 'true'
3534
run: |
3635
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).'
37-
gh pr merge --admin --merge --subject 'docs: updating `leetcode/DIRECTORY.md' --delete-branch
3836
env:
3937
GH_TOKEN: ${{ github.token }}

DIRECTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
* [Word Count](https://github.com/TheAlgorithms/C/blob/HEAD/exercism/word_count/word_count.h)
149149

150150
## Games
151+
* [Hangman](https://github.com/TheAlgorithms/C/blob/HEAD/games/hangman.c)
151152
* [Naval Battle](https://github.com/TheAlgorithms/C/blob/HEAD/games/naval_battle.c)
152153
* [Tic Tac Toe](https://github.com/TheAlgorithms/C/blob/HEAD/games/tic_tac_toe.c)
153154

0 commit comments

Comments
 (0)