mkmarek opened a new pull request, #5077:
URL: https://github.com/apache/incubator-devlake/pull/5077

   ### ⚠️ Pre Checklist
   
   > Please complete _ALL_ items in this checklist, and remove before submitting
   
   - [x] I have read through the [Contributing 
Documentation](https://devlake.apache.org/community/).
   - [ ] I have added relevant tests.
   - [ ] I have added relevant documentation.
   - [x] I will add labels to the PR, such as `pr-type/bug-fix`, 
`pr-type/feature-development`, etc.
   
   <!--
   Thanks for submitting a pull request!
   
   We appreciate you spending the time to work on these changes.
   Please fill out as many sections below as possible.
   -->
   
   ### Summary
   This PR adds a new option to use authentication via GitHub App while 
creating a new GitHub connection. Then it alters several places in `github` and 
`github_graphql` plugins to fetch the appropriate token given an installation 
id, which it can fetch based on the repository name and owner.
   
   ### Does this close any open issues?
   Closes https://github.com/apache/incubator-devlake/issues/4801
   
   ### Screenshots
   
   GitHub app configuration section:
   
![image](https://user-images.githubusercontent.com/7100597/235923736-ac506780-33ef-444d-8d6f-88e36d9504cb.png)
   
   In the repository selection the user/org column will represent the 
orgs/users where the app is installed and the right side are repositories 
allowed by that installation:
   
![image](https://user-images.githubusercontent.com/7100597/235936953-f2942f3e-2cf5-4bf4-bffd-cc38789ad8c5.png)
   
   ### Other Information
   I'm doing this change on behalf of Telia Company 
(https://github.com/telia-company). I'm not sure if they sent in CCLA, but I'm 
trying to find out.
   
   I haven't been around this codebase for very long (last two weeks) so any 
recommendations for changes, what tests to add, or hints on what to do next are 
very much appreciated.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to