-
-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (30 loc) · 1.36 KB
/
invitation.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
28
29
30
31
32
33
34
35
36
on:
issues:
types: [labeled]
jobs:
automate_invite:
runs-on: ubuntu-latest
steps:
- name: Invite on label
uses: vj-abigo/[email protected]
with:
organization: Tech-Phantoms
label: github-invitation
repo-token: ${{ secrets.GITHUB_TOKEN }}
comment: |
<div align="center">
<img src="https://user-images.githubusercontent.com/51391473/138764839-1011988e-66f2-4427-a8fc-e0380971df29.gif">
<br>
<h1>Welcome To Tech Phantoms 🎉</h1>
</div>
<br>
> Invitation sent to join the GitHub Organization. Check your mail to accept the invitation! 🤖
## About Us
Tech Phantoms is a open source community run by students, together we work on cool project organize organize hackathons and also help and support new people in tech 🚀.
Check out our [Twitter](https://twitter.com/tech_phantoms) and [Discord](https://discord.apihacks.co) to get involved with us! 🚀
env:
INVITE_TOKEN: ${{secrets.GOD_TOKEN}}
# - name: Discord Notification
# uses: wei/curl@master
# with:
# args: -X POST -H "Content-Type:application/json" -d '{"content":"${{github.event.issue.user.login}} just joined our GitHub organization"}' ${{ secrets.DISCORD_INVITATION }}