mirror of
https://github.com/firmai/financial-machine-learning.git
synced 2026-08-18 21:38:08 +00:00
add check out
This commit is contained in:
@@ -42,6 +42,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}
|
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||||
|
|
||||||
|
- name: Check out master first
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
|
||||||
|
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
|
||||||
|
|
||||||
- name: Commit & Push changes
|
- name: Commit & Push changes
|
||||||
uses: actions-js/push@master
|
uses: actions-js/push@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
+2
-2
@@ -348,5 +348,5 @@ def search_new_repo_by_category_per_day(min_stars_number: int = 100):
|
|||||||
search_new_repo_and_append(min_stars_number=min_stars_number, filter_list=repo_to_process)
|
search_new_repo_and_append(min_stars_number=min_stars_number, filter_list=repo_to_process)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
# if __name__ == '__main__':
|
||||||
search_new_repo_by_category_per_day(min_stars_number=100)
|
# search_new_repo_by_category_per_day(min_stars_number=100)
|
||||||
|
|||||||
+1
-1
@@ -61,7 +61,7 @@ def get_repo_attributes_dict(input_repo: Repository, last_commit_within_years: i
|
|||||||
else:
|
else:
|
||||||
repo_status = 'inactive'
|
repo_status = 'inactive'
|
||||||
result_dict['repo_status'] = repo_status
|
result_dict['repo_status'] = repo_status
|
||||||
except GithubException as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
return result_dict
|
return result_dict
|
||||||
|
|||||||
Reference in New Issue
Block a user