Skip to content

Commit

Permalink
Merge pull request #123 from Asymtode712/CommunityFeat
Browse files Browse the repository at this point in the history
Added Community feat template & workflow
  • Loading branch information
sanjay-kv authored May 19, 2024
2 parents e270977 + f98074b commit 08fcaec
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/invitation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Invitation to the Recode-Hive GitHub Community Organization
description: I would like to be part of this awesome community
title: "Please invite me to the Recode-Hive GitHub Community Organization"
labels: [invite me to the community]
body:
- type: input
id: name
attributes:
label: Name
placeholder: Insert your name here
validations:
required: true
- type: input
id: discordname
attributes:
label: Discord Username (if applicable)
placeholder: Insert your Discord username here
validations:
required: false
- type: textarea
id: Additional
attributes:
label: Additional Context
description: What do you like about this community/Why do you want to join?
validations:
required: false
- type: markdown
attributes:
value: |
Feel free to check out other cool repositories of the Recode-Hive Community [here](https://github.com/Recode-Hive)
17 changes: 17 additions & 0 deletions .github/workflows/invitation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
issues:
types: [labeled]

jobs:
automate_invite:
runs-on: ubuntu-latest
steps:
- name: Invite on label
uses: vj-abigo/[email protected]
with:
organization: Recode-Hive
label: invite me to the community
repo-token: ${{ secrets.GITHUB_TOKEN }}
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>"
env:
INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}

0 comments on commit 08fcaec

Please sign in to comment.