Created
December 1, 2020 15:13
-
-
Save sbesson/b43c3709638b89e6c429dfaec2732c23 to your computer and use it in GitHub Desktop.
Find all organization repository with Travis configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from github import Github | |
gh = Github() | |
r = gh.search_code('org:ome filename:.travis.yml') | |
repos = sorted(set([i.repository.html_url for i in r])) | |
for repo in repos: | |
print(repo) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment