Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-ho authored Apr 19, 2024
1 parent 9b8a418 commit 5f83816
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# pull_request:
# branches: [ main ]

jobs:
build:
Expand All @@ -28,11 +28,14 @@ jobs:
- name: Run Update Python Script
run: |
python utils/count_files.py
- name: Run Update README.md File
- name: Checkout to bot/count-files branch
run: |
git fetch
git checkout bot/count-files || git checkout -b bot/count-files
- name: Run Update README.md File and Push
run: |
git config --local user.email "[email protected]"
git config --local user.name "binary-ho"
git add .
git diff
git commit -m "Automatically Update README.md file"
git push
git push origin bot/count-files

0 comments on commit 5f83816

Please sign in to comment.