Skip to content

bryantson/check-member-exists-in-team-actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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 }}"

About

GitHub Actions to check if an username exists in Team

Resources

Stars

Watchers

Forks

Packages

No packages published