diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index feb2ca9..5f06ef9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,19 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Check if organization member + id: check_org_member + uses: Mind-Sports-Games/check-org-member@v1.1.0 + with: + username: ${{ github.actor }} + token: ${{ secrets.GITHUB_TOKEN }} + - name: Check Failed + if: ${{ steps.check_org_member.outputs.result == 'false' }} + run: | + echo User Does Not Belong to Mind-Sports-Games + exit 1 + - name: Check Passed + run: echo The actor is an organization member - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: