Skip to content

Commit ccdd857

Browse files
committed
GitHub: Add more logging to the CLA check
1 parent 39b335c commit ccdd857

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/check-cla.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with urllib.request.urlopen(req) as response:
1919
return json.loads(response.read().decode('utf-8'))
2020
prCommits = jsonRequest('https://api.github.com/repos/juce-framework/JUCE/pulls/${{ github.event.number }}/commits')
21+
print(f'Commit info:\n{json.dumps(prCommits, indent=4)}')
2122
allAuthors = [commit[authorType]['login'] for authorType in ['author', 'committer'] for commit in prCommits if commit[authorType]]
2223
uniqueAuthors = [name for name in list(set(allAuthors)) if name != 'web-flow']
2324
if (len(uniqueAuthors) == 0):

0 commit comments

Comments
 (0)