-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ name: Python application | |
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
# pull_request: | ||
# branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
@@ -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 |