Skip to content

[26주차 2] Flutter Programming: ch06. 기본 위젯 알아보기 (#242) #122

[26주차 2] Flutter Programming: ch06. 기본 위젯 알아보기 (#242)

[26주차 2] Flutter Programming: ch06. 기본 위젯 알아보기 (#242) #122

name: 10000-bagger Auto Markdown File Count Workflow
on:
push:
branches:
- main
pull_request:
types:
- closed
branches:
- main
jobs:
build:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: count files
run: |
python3 -m counter
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "binary-ho"
git add -u
if git diff --cached --quiet; then
echo "No changes to commit"
else
git commit -m "10000-bagger auto md file counter"
fi
- name: Push changes
run: |
git remote set-url origin https://[email protected]/10000-Bagger/free-topic-study.git
git push origin main