Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit d73392a

Browse files
committed
Debug
1 parent 342a39c commit d73392a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/ci/pr_preview.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ def has_label(pull_request):
237237
return False
238238

239239
def should_be_mirrored(pull_request):
240+
print '''
241+
is_open(pull_request): {}
242+
pull_request['author_association']: {}
243+
has_label(pull_request): {}
244+
'''.format(
245+
is_open(pull_request),
246+
pull_request['author_association'],
247+
has_label(pull_request)
248+
)
240249
return is_open(pull_request) and (
241250
pull_request['author_association'] == 'COLLABORATOR' or
242251
has_label(pull_request)

0 commit comments

Comments
 (0)