Skip to content

Commit 919cc48

Browse files
authored
Update invite.yml
1 parent a9802d0 commit 919cc48

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/invite.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,10 @@ name: Automate Invitation
22

33
on:
44
issues:
5-
types: [opened]
5+
types: [labeled]
66

77
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-
188
handle_label:
19-
needs: auto_label_issue
209
runs-on: ubuntu-latest
2110

2211
steps:
@@ -51,6 +40,6 @@ jobs:
5140
repo-token: ${{ secrets.INVITE_TOKEN }}
5241
comment: |
5342
<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>
5544
env:
5645
INVITE_TOKEN: ${{ secrets.INVITE_TOKEN }}

0 commit comments

Comments
 (0)