-
-
Notifications
You must be signed in to change notification settings - Fork 434
26 lines (24 loc) · 938 Bytes
/
invite.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
name: 🏡 Invite users
on:
issues:
types: [labeled]
jobs:
automate_invite:
runs-on: ubuntu-latest
steps:
- name: Invite on label
uses: vj-abigo/[email protected]
with:
organization: MilanCommunity
label: invite me to the organisation
repo-token: ${{ secrets.GITHUB_TOKEN }}
comment:
"<b>Hi @${{ github.actor }}, We just made a new organization, and
have sent you an invite. Welcome to the community
🎉</b><br><br>Don't forget after accepting to make it public so it
appears on your GitHub profile for everyone else to see. You can do
this by finding your name in the GitHub organisation list and change
the dropdown to public
https://github.com/orgs/MilanCommunity/people<br>"
env:
INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}