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

Add getTeamMembers helper to conditions #8

Merged
merged 3 commits into from
Jan 21, 2021
Merged

Conversation

imhoffd
Copy link
Contributor

@imhoffd imhoffd commented Jan 21, 2021

This allows this:

condition: (await getTeamMembers('capacitor')).includes(payload.issue.user.login)

instead of this:

only-members-of-team-slug: capacitor

@imhoffd imhoffd merged commit eb1eadf into main Jan 21, 2021
@imhoffd imhoffd deleted the assign-project-changes branch January 21, 2021 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant