Skip to content

Instantly share code, notes, and snippets.

@sbesson
Created December 1, 2020 15:13
Show Gist options
  • Save sbesson/b43c3709638b89e6c429dfaec2732c23 to your computer and use it in GitHub Desktop.
Save sbesson/b43c3709638b89e6c429dfaec2732c23 to your computer and use it in GitHub Desktop.
Find all organization repository with Travis configuration file
#! /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