You've already forked wakapi-readme-stats
Merge remote-tracking branch 'origin/feat/verbose_tests_and_dry_running' into feat/ci-cd_test_for_action
This commit is contained in:
2
.github/workflows/build_image.yml
vendored
2
.github/workflows/build_image.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: ${{ github.ref != 'refs/heads/dev' }}
|
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-server-image:
|
publish-server-image:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ async def calculate_yearly_commit_data(repositories: Dict) -> Dict:
|
|||||||
total = len(repositories["data"]["user"]["repositories"]["nodes"])
|
total = len(repositories["data"]["user"]["repositories"]["nodes"])
|
||||||
for ind, repo in enumerate(repositories["data"]["user"]["repositories"]["nodes"]):
|
for ind, repo in enumerate(repositories["data"]["user"]["repositories"]["nodes"]):
|
||||||
if repo["name"] not in EM.IGNORED_REPOS:
|
if repo["name"] not in EM.IGNORED_REPOS:
|
||||||
repo_name = "private" if repo["isPrivate"] else repo['owner']['login'] + "/" + repo['name']
|
repo_name = "private" if repo["isPrivate"] else f"{repo['owner']['login']}/{repo['name']}"
|
||||||
DBM.i(f"\t{ind + 1}/{total} Retrieving repo: {repo_name}")
|
DBM.i(f"\t{ind + 1}/{total} Retrieving repo: {repo_name}")
|
||||||
await update_yearly_data_with_commit_stats(repo, yearly_data)
|
await update_yearly_data_with_commit_stats(repo, yearly_data)
|
||||||
DBM.g("Yearly commit data calculated!")
|
DBM.g("Yearly commit data calculated!")
|
||||||
|
|||||||
Reference in New Issue
Block a user