[Silver III] Title: 1, 2, 3 더하기, Time: 0 ms, Memory: 2024 KB -Baekjoo… #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update README with File Count [skip ci] | |
on: | |
push: | |
branches: | |
- main # Replace with your main branch name | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Update README | |
run: | | |
chmod +x update_readme.sh | |
bash update_readme.sh | |
- name: Commit and push changes ! | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "LeeHyungJoo" | |
if [ -n "$(git status --porcelain)" ]; then | |
git add update_readme.sh | |
git add README.md | |
git commit -m "Update file count in README [skip ci]" --no-verify | |
git push --force | |
else | |
echo "No changes to commit." | |
fi | |