Skip to content

Commit ef8a6b9

Browse files
authored
Update invitation.yml
1 parent 9975070 commit ef8a6b9

1 file changed

Lines changed: 16 additions & 32 deletions

File tree

.github/workflows/invitation.yml

Lines changed: 16 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,21 @@
11
name: Invitation Action
22

33
on:
4-
issues:
5-
types:
6-
- labeled
4+
issues:
5+
types: [labeled]
76

87
jobs:
9-
automate_invite:
10-
runs-on: ubuntu-latest
11-
12-
steps:
13-
- name: Debug
14-
run: |
15-
echo "Issue User: ${{ github.event.issue.user.login }}"
16-
echo "Actor: ${{ github.actor }}"
17-
echo "Organization: devcrafta-team"
18-
19-
- name: Invite-on-label
20-
uses: vj-abigo/invite-on-label@v1.4
21-
with:
22-
organization: devcrafta-team
23-
label: "✉️ github-invitation"
24-
repo-token: ${{ secrets.REPO_GITHUB_TOKEN }}
25-
comment: |
26-
# Welcome to DevCrafta Team!
27-
28-
Please check your email and accept the GitHub invitation.
29-
30-
Great to have you in our community.
31-
32-
Community:
33-
https://github.com/DevCrafta-Team
34-
35-
Feel free to share our community with other developers interested in learning, collaborating, and contributing.
36-
env:
37-
INVITE_TOKEN: ${{ secrets.INVITE_ORG_TOKEN }}
8+
automate_invite:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Invite-on-label
13+
uses: vj-abigo/invite-on-label@v1.4
14+
with:
15+
organization: devcrafta-team
16+
label: ✉️ github-invitation
17+
repo-token: ${{ secrets.REPO_GITHUB_TOKEN }}
18+
comment: "<h1><b>Welcome to DevCrafta Team!</b></h1><br>Please check your mail to accept the invitation sent by GitHub! 🤖<br><h1>About us</h1>💻 Great to have you in our community <br>✨Looking forward to your valuable contributions! <br>🤓 You can also check our community ✨ [DevCrafta Team](https://github.com/DevCrafta-Team)
19+
</a><br>💜 You can also share our community with other folks who want to learn about development, tech, and contribute together and with us 👉💜👈"
20+
env:
21+
INVITE_TOKEN: ${{ secrets.INVITE_ORG_TOKEN }}

0 commit comments

Comments
 (0)