Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make following new projects easier #2

Open
njoyard opened this issue Apr 5, 2019 · 0 comments
Open

Make following new projects easier #2

njoyard opened this issue Apr 5, 2019 · 0 comments

Comments

@njoyard
Copy link
Contributor

njoyard commented Apr 5, 2019

Currently when we want to monitor new projects we have to connect to CircleCI as the peopledoc-tribe-js user and manually follow the project.

There is no endpoint on CircleCI api to list "followable" projects, but we could use the Github API (with a token from peopledoc-tribe-js) to fetch all existing projects and automatically follow them (using https://circleci.com/docs/api/#follow-a-new-project-on-circleci). Not all github projects are on CircleCI but we can either use the Github API to look for CircleCI hooks/CircleCI config file, or follow everything unconditionnally and cope with errors when CircleCI complains it does not know a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant