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
[chore]: add workflow for surveys of non-members (#42503)
The Contributor Experience group created a survey to help understand
challenges and feedback from new contributors. We have this survey
running for a few months on opentelemetry.io and the JS repo, with
helpful feedback, so now adding to more repos.
Example of message:
open-telemetry/opentelemetry-js#5884 (comment)
---------
Co-authored-by: Antoine Toulme <[email protected]>
if gh api "orgs/$ORG/members/$USERNAME" --silent; then
40
+
echo "Skipping survey for org member: $USERNAME"
41
+
exit 0
42
+
fi
43
+
44
+
# Add survey comment for external contributor
45
+
echo "Adding survey comment for external contributor: $USERNAME"
46
+
gh pr comment "${PR_NUM}" --repo ${{ github.repository }} --body "Thank you for your contribution @${USERNAME}! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this [survey](${SURVEY_URL})."
0 commit comments