yakshaveinc / linux

software engineering for Linux projects
The Unlicense
1 stars 3 forks source link

Use Travis CI as GitHub App (as opposed to OAuth App) #1

Closed abitrolly closed 3 years ago

abitrolly commented 7 years ago

Classic (old) way of integrating Travis CI with GitHub is by using OAuth Apps.

image

This way application gains access to all your own repositories. If you authorized such app for an organization, it will gain access to every organization repository.

image

New GitHub feature is GitHub Apps that allows to give out permissions only to a subset of repositories. GitHub Apps can be installed from its Marketplace.

Let's test this.

Revoking existing permissions from Travis

Installing Travis CI GitHub App from GitHub Marketplace

In case you've missed it, it is here:

image

Or direct link - https://github.com/marketplace/travis-ci

abitrolly commented 7 years ago

I am switching billing account to organization.

image

abitrolly commented 7 years ago

And it still wants access to everything under my account. Despite that billing is different.

image

abitrolly commented 7 years ago

And no. It didn't work. Travis CI is again in Authorized OAuth Apps https://github.com/settings/applications but Authorized GitHub Apps is empty - https://github.com/settings/apps/authorizations

image

abitrolly commented 3 years ago

Travis wants full access to my account. No deal.