Skip to content

Check invite process in UpdateEnrollments #1597

Description

@meling
func (s *GithubSCM) UpdateEnrollment(ctx context.Context, opt *UpdateEnrollmentOptions) (*Repository, error) {

UpdateEnrollment performs several steps for case qf.Enrollment_STUDENT:. It is unclear if Steps 3 and 4 require that Step 2 (acceptOrgInvitation) be successfully completed with a StatusOK or if it is sufficient with a StatusAccepted to continue with Steps 3 and 4. Or if we need to implement a waiting process similar to the waitForRepository for Step 2.

We can test this by commenting out Step 2 from UpdateEnrollment.

The GitHub API is a bit awkward to work with TBH.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions