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
echo "User has punctuation in the name, so opting for a generic message"
23
24
message="Hi @$username. :wave:\n\nYour PR has been approved and merged. :tada:\n\nThank you for your contribution to framework.dev. :heart:\n\nKeep up the great work!"
24
25
else
26
+
echo "fetching user from org to see if he contributed before"
message="Hi @$username. :wave:\n\nYour PR has been approved and merged. :tada:\n\nThank you for your continued contributions to framework.dev. :heart:\n\nKeep up the great work!"
28
31
elif [ "$response" = "404" ]; then
32
+
echo "New User"
29
33
message="Hi @$username. :wave:\n\nCongrats on your first PR being approved and merged! :tada:\n\nThank you for taking the time to contribute to framework.dev. :heart:\n\nWe look forward to your next contribution. :rocket:"
30
34
else
31
35
echo "Invalid or expired token: $ISSUES_BOT_TOKEN"
0 commit comments