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

[Github App] AAUser, I can see the repos to which I have given the code-review app access. #268

Open
lizacullis opened this issue Sep 11, 2023 · 0 comments

Comments

@lizacullis
Copy link
Collaborator

lizacullis commented Sep 11, 2023

Description:
We have the routing logic for routing webhook requests, now we need to create the UpdateRepo lambda that will actually edit the database when the app is granted access to a repo.

Validation steps:
Will need github app to test this, we will have done this in the previous ticket.
When a "add repo" github webhook is recieved by API Gateway, the routing lambda is triggered -> the correct event is put on the event bus -> and the correct lambda is triggered.

  • screenshot of the webhook request
  • screenshot of the routing lambda being invoked
  • screenshot of the event body that is created on the event bus.
  • screenshot of the 1. repos visible on the front end.

Tech Steps:

  • Create a add repo lambda.
  • This lambda will take all the repos from the repositories_added, and add them to the user object in DDB.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant