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

Confusing behavior for the new Github apps integration #9598

Closed
stof opened this issue May 9, 2018 · 12 comments
Closed

Confusing behavior for the new Github apps integration #9598

stof opened this issue May 9, 2018 · 12 comments

Comments

@stof
Copy link

stof commented May 9, 2018

When migrating an account to the new Github apps integration, repos which did not have a Travis configuration before started to be built as well (while Travis was not enabled on them), and were of course failing, as these were not ruby repos at all.
This is quite confusing. What is the recommended way to setup the Github Apps integration to avoid such behavior ?

@markduffield
Copy link

It would be nice if the integration settings allowed for some 'Global settings' to disable building for repos if a .travis.yaml file is not present.

@stof
Copy link
Author

stof commented May 9, 2018

yeah, that would be fine with me

@BanzaiMan
Copy link
Contributor

Hi, everyone. Sorry for the issue. We are aware of the issue, and we are tracking it. We hope to have updates soon.

@chris48s
Copy link

I am also affected by this. I think someone in our organisation activated the new integration and now we have builds unexpectedly trying to run on some repos. Is there a way I can manually disable them while this issue is open?

@hopewm
Copy link

hopewm commented May 17, 2018

@chris48s I was able to manually disable this on a per-repo basis via the "Build only if .travis.yml is present" toggle on the Settings tab at https://travis-ci.com/<your-org>/<your-repo>/settings.

For orgs with lots of repos, the global setting @markduffield suggested would be incredibly useful. 👍

@ritwickdey
Copy link

I'm facing same issue. I don't want any CI for few repo. But I can't turn off it.

Build only if .travis.yml is present is also not working for me.

I've checked the network tab. The request is being completed even.

image

@ndarville
Copy link

It’s been quite a week with Travis CI. All builds failed, then builds began to run for projects that were never added, now all my private repos aren’t listed anywhere.

If someone knows what to do about the latter, by all means let me know.

@BanzaiMan
Copy link
Contributor

@ndarville Sorry to hear about the issue. Could you email support@travis-ci.com with details about your repository visibility issue? Thank you!

@stof
Copy link
Author

stof commented May 18, 2018

@BanzaiMan on my side, I fixed the issue by applying the github app only to some specific repos rather than the whole organization on the github side.

I think this is related to the fact that Travis was enabling itself on a repo based on the webhook presence (as soon as it receives events, it runs builds). With org-level webhooks for github apps, this requires another opt-in system in Travis.

@stale
Copy link

stale bot commented Aug 16, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 24 hours. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@stale stale bot added the stale label Aug 16, 2018
@leonardodino
Copy link

@BanzaiMan is this issue fixed?

@stale stale bot removed the stale label Aug 16, 2018
@stof
Copy link
Author

stof commented Aug 17, 2018

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

No branches or pull requests

8 participants