From 3b100223205953f9cd77de69d48b567be0d1e5fa Mon Sep 17 00:00:00 2001 From: pseusys Date: Wed, 22 Feb 2023 22:15:30 +0100 Subject: [PATCH 1/2] master link updated --- .github/workflows/build_image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 923c4c5..338f66e 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -5,7 +5,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/dev' }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} jobs: publish-server-image: From c63f53427660ece76ddbb183c93ffff39c8ea065 Mon Sep 17 00:00:00 2001 From: pseusys Date: Sat, 25 Feb 2023 19:50:35 +0100 Subject: [PATCH 2/2] lint applied --- sources/yearly_commit_calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/yearly_commit_calculator.py b/sources/yearly_commit_calculator.py index f9a898f..49bce72 100644 --- a/sources/yearly_commit_calculator.py +++ b/sources/yearly_commit_calculator.py @@ -21,7 +21,7 @@ async def calculate_yearly_commit_data(repositories: Dict) -> Dict: total = len(repositories["data"]["user"]["repositories"]["nodes"]) for ind, repo in enumerate(repositories["data"]["user"]["repositories"]["nodes"]): 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}") await update_yearly_data_with_commit_stats(repo, yearly_data) DBM.g("Yearly commit data calculated!")