-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (25 loc) · 960 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Is Org Member
on:
issues:
types: [opened, labeled]
pull_request:
types: [opened, labeled]
jobs:
is-member:
name: Is org member?
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Check if organization member
id: is_organization_member
uses: zuchka/[email protected]
env:
GITHUB_ISSUE_URL: ${{ toJson(github.event.issue.html_url) }}
GITHUB_REPO: ${{ toJson(github.repository) }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
with:
username: foo
teammates: 20k-ultra|char8|coffee-cup|dbanys|FarazPatankar|gschier|half0wl|JakeCooper|jitachi|melissa-hale|ndneighbor|ohrgaard|pierre-borckmans|railway-bot|tacLog|trif0lium|zuchka
webhook: https://discord.com/api/webhooks/886039948032090152/TN0AU9rQs3bzWfIR-enPZp9xAW2XeOzYiCQH4Y_W6MX-ABjKaKzsJOTp_psayU_Z8H-f