From ccdd857662a2f0eccdbc5f473896d0409faa9766 Mon Sep 17 00:00:00 2001 From: tpoole Date: Fri, 22 Nov 2024 16:14:11 +0000 Subject: [PATCH] GitHub: Add more logging to the CLA check --- .github/workflows/check-cla.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-cla.yml b/.github/workflows/check-cla.yml index 70d082413d..c657a4cff2 100644 --- a/.github/workflows/check-cla.yml +++ b/.github/workflows/check-cla.yml @@ -18,6 +18,7 @@ jobs: with urllib.request.urlopen(req) as response: return json.loads(response.read().decode('utf-8')) prCommits = jsonRequest('https://api.github.com/repos/juce-framework/JUCE/pulls/${{ github.event.number }}/commits') + print(f'Commit info:\n{json.dumps(prCommits, indent=4)}') allAuthors = [commit[authorType]['login'] for authorType in ['author', 'committer'] for commit in prCommits if commit[authorType]] uniqueAuthors = [name for name in list(set(allAuthors)) if name != 'web-flow'] if (len(uniqueAuthors) == 0):