mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
480 B
Python
22 lines
480 B
Python
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import argparse
|
|
|
|
from pygithub3 import Github
|
|
|
|
def main():
|
|
gh = Github(user='acemod', repo='ACE3')
|
|
|
|
pull_requests = gh.pull_requests.list().all()
|
|
|
|
for request in pull_requests:
|
|
files = gh.pull_requests.list_files(request.number).all()
|
|
|
|
for file in files:
|
|
# print file.filename
|
|
if '.sqf' in file.filename:
|
|
print file
|
|
|
|
if __name__ == "__main__":
|
|
main() |