From 2df916dbbd021eca6cf7bdec1d3a909dd8008ebc Mon Sep 17 00:00:00 2001
From: Siddheya Kulkarni <115717746+Asymtode712@users.noreply.github.com>
Date: Sun, 19 May 2024 19:18:10 +0530
Subject: [PATCH 1/4] Create invitation.yml
---
.github/ISSUE_TEMPLATE/invitation.yml | 30 +++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/invitation.yml
diff --git a/.github/ISSUE_TEMPLATE/invitation.yml b/.github/ISSUE_TEMPLATE/invitation.yml
new file mode 100644
index 0000000..186aae9
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/invitation.yml
@@ -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)
From cd744ee5da33d682b288b94251111313ed7c338e Mon Sep 17 00:00:00 2001
From: Siddheya Kulkarni <115717746+Asymtode712@users.noreply.github.com>
Date: Sun, 19 May 2024 19:19:07 +0530
Subject: [PATCH 2/4] Delete .github/ISSUE_TEMPLATE/invitation.yml
---
.github/ISSUE_TEMPLATE/invitation.yml | 30 ---------------------------
1 file changed, 30 deletions(-)
delete mode 100644 .github/ISSUE_TEMPLATE/invitation.yml
diff --git a/.github/ISSUE_TEMPLATE/invitation.yml b/.github/ISSUE_TEMPLATE/invitation.yml
deleted file mode 100644
index 186aae9..0000000
--- a/.github/ISSUE_TEMPLATE/invitation.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-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)
From f97dfe79f4ffff031c9184fc46a153b09d5471dc Mon Sep 17 00:00:00 2001
From: Siddheya Kulkarni <115717746+Asymtode712@users.noreply.github.com>
Date: Sun, 19 May 2024 19:19:53 +0530
Subject: [PATCH 3/4] Create invitation.yml
---
.github/ISSUE_TEMPLATE/invitation.yml | 30 +++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/invitation.yml
diff --git a/.github/ISSUE_TEMPLATE/invitation.yml b/.github/ISSUE_TEMPLATE/invitation.yml
new file mode 100644
index 0000000..186aae9
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/invitation.yml
@@ -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)
From f98074b8308456b5c45bf0c742208d1c0864ca72 Mon Sep 17 00:00:00 2001
From: Siddheya Kulkarni <115717746+Asymtode712@users.noreply.github.com>
Date: Sun, 19 May 2024 19:24:02 +0530
Subject: [PATCH 4/4] Create invitation.yml
---
.github/workflows/invitation.yml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 .github/workflows/invitation.yml
diff --git a/.github/workflows/invitation.yml b/.github/workflows/invitation.yml
new file mode 100644
index 0000000..efa3cc5
--- /dev/null
+++ b/.github/workflows/invitation.yml
@@ -0,0 +1,17 @@
+on:
+ issues:
+ types: [labeled]
+
+jobs:
+ automate_invite:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Invite on label
+ uses: vj-abigo/invite-on-label@v1.2
+ with:
+ organization: Recode-Hive
+ label: invite me to the community
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ comment: "Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
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
"
+ env:
+ INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}