Skip to content

Check member exists in GitHub Team

Actions
GitHub Actions to check if an username exists in Team
1.0
Latest
Star (1)

Tags

 (1)

check-member-exists-in-team-actions

This GitHub Actions helps to check if a member exists in a GitHub Team

How to run?

name: Test custom GitHub Action

on:
  workflow_dispatch:

jobs:
  check-member:
    runs-on: ubuntu-latest
    name: Check if an user exists
    steps:
      - name: Check if member exists
        id: check-member
        uses: bryantson/[email protected]
        with:
          team_slug: SOME_TEAM_NAME
          org_slug: SOME_ORG_NAME
          gh_token: ${{ secrets.GH_TOKEN }}
          username: SOME_USER_NAME

      - name: Print whether member exists
        run: |
          echo "Does member exists: ${{ steps.check-member.outputs.exists-in-team }}"

Check member exists in GitHub Team is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Actions to check if an username exists in Team
1.0
Latest

Tags

 (1)

Check member exists in GitHub Team is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.