mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
GitHub: Add more logging to the CLA check
This commit is contained in:
parent
39b335ccef
commit
ccdd857662
1 changed files with 1 additions and 0 deletions
1
.github/workflows/check-cla.yml
vendored
1
.github/workflows/check-cla.yml
vendored
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue