WIP: Test contributor action #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PR author | |
on: | |
pull_request: | |
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: codeforlife | |
org_slug: ocadotechnology | |
gh_token: ${{ secrets.GITHUB_TOKEN }} | |
username: ${{ github.event.pull_request.user.login }} | |
- name: Print whether member exists | |
run: | | |
echo "Does member exists: ${{ steps.check-member.outputs.exists-in-team }}" |