Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

patch the relation field. #6

Open
todo bot opened this issue Jan 14, 2021 · 2 comments
Open

patch the relation field. #6

todo bot opened this issue Jan 14, 2021 · 2 comments

Comments

@todo
Copy link

todo bot commented Jan 14, 2021

// TODO: patch the relation field.
// Patch the relation field.
pullInDB.relation =
pull.author_association === "MEMBER" ? "member" : "not member";
// Patch the labels field.


This issue was generated by todo based on a TODO comment in 457381c when #1 was merged. cc @ti-community-infra.
@todo todo bot added the todo 🗒️ label Jan 14, 2021
@Mini256
Copy link
Member

Mini256 commented Feb 22, 2021

If a user does not public his membership, then pull.author_association will be CONTRIBUTOR or CONTRIBUTOR instead of MEMBER.

@ti-chi-bot
Copy link
Member

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-community-infra or hi-rustin.
/lifecycle stale

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

No branches or pull requests

2 participants