Skip to content

Update update_readme.yml #93

Update update_readme.yml

Update update_readme.yml #93

Workflow file for this run

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