Skip to content

Commit 08fcaec

Browse files
authored
Merge pull request #123 from Asymtode712/CommunityFeat
Added Community feat template & workflow
2 parents e270977 + f98074b commit 08fcaec

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/ISSUE_TEMPLATE/invitation.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Invitation to the Recode-Hive GitHub Community Organization
2+
description: I would like to be part of this awesome community
3+
title: "Please invite me to the Recode-Hive GitHub Community Organization"
4+
labels: [invite me to the community]
5+
body:
6+
- type: input
7+
id: name
8+
attributes:
9+
label: Name
10+
placeholder: Insert your name here
11+
validations:
12+
required: true
13+
- type: input
14+
id: discordname
15+
attributes:
16+
label: Discord Username (if applicable)
17+
placeholder: Insert your Discord username here
18+
validations:
19+
required: false
20+
- type: textarea
21+
id: Additional
22+
attributes:
23+
label: Additional Context
24+
description: What do you like about this community/Why do you want to join?
25+
validations:
26+
required: false
27+
- type: markdown
28+
attributes:
29+
value: |
30+
Feel free to check out other cool repositories of the Recode-Hive Community [here](https://github.com/Recode-Hive)

.github/workflows/invitation.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
issues:
3+
types: [labeled]
4+
5+
jobs:
6+
automate_invite:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Invite on label
10+
uses: vj-abigo/[email protected]
11+
with:
12+
organization: Recode-Hive
13+
label: invite me to the community
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
comment: "<b>Invitation sent to join the GitHub Organisation. 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/Recode-Hive/people<br><br>"
16+
env:
17+
INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}

0 commit comments

Comments
 (0)