Skip to content
#

pull-request-action

Here are 11 public repositories matching this topic...

use-herald-action
gagoar
gagoar commented Jan 24, 2021

Description

It will be great to add a trigger to check if the user has a membership on a team or not.

the implementation is quiet simple,

try {
              const { data: { state } } = await github.teams.getMembershipForUserInOrg({
                org: context.repo.owner,
                team_slug: 'teamName',
                username: context.actor
              })
enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the pull-request-action topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pull-request-action topic, visit your repo's landing page and select "manage topics."

Learn more