You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/invite.yml
+2-13Lines changed: 2 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,10 @@ name: Automate Invitation
2
2
3
3
on:
4
4
issues:
5
-
types: [opened]
5
+
types: [labeled]
6
6
7
7
jobs:
8
-
auto_label_issue:
9
-
runs-on: ubuntu-latest
10
-
11
-
steps:
12
-
- name: Label Issue as 'invite me to the community'
13
-
uses: actions-ecosystem/action-add-labels@v1
14
-
with:
15
-
github_token: ${{ secrets.INVITE_TOKEN }}
16
-
labels: 'invite me to the community'
17
-
18
8
handle_label:
19
-
needs: auto_label_issue
20
9
runs-on: ubuntu-latest
21
10
22
11
steps:
@@ -51,6 +40,6 @@ jobs:
51
40
repo-token: ${{ secrets.INVITE_TOKEN }}
52
41
comment: |
53
42
<b>Invitation sent to join the GitHub Organisation. Welcome to the community 🎉</b><br><br>
54
-
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/Open-Hub-Community/people<br><br>
43
+
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/open-hub-community/people<br><br>
0 commit comments