We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e15519 + 10517f9 commit dade857Copy full SHA for dade857
.github/workflows/ci.yml
@@ -4,6 +4,19 @@ jobs:
4
build:
5
runs-on: ubuntu-latest
6
steps:
7
+ - name: Check if organization member
8
+ id: check_org_member
9
+ uses: Mind-Sports-Games/check-org-member@v1.1.0
10
+ with:
11
+ username: ${{ github.actor }}
12
+ token: ${{ secrets.GITHUB_TOKEN }}
13
+ - name: Check Failed
14
+ if: ${{ steps.check_org_member.outputs.result == 'false' }}
15
+ run: |
16
+ echo User Does Not Belong to Mind-Sports-Games
17
+ exit 1
18
+ - name: Check Passed
19
+ run: echo The actor is an organization member
20
- uses: actions/checkout@v4
21
- uses: actions/setup-node@v4
22
with:
0 commit comments