-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Welcome external-to-google contributors with a nice message and assignee. #1275
Conversation
echo > comment/pr_comment << EOF | ||
Hello! I am a robot who works on Magic Modules PRs. | ||
|
||
I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. They will authorize it to run through our CI pipeline, which will generate downstream PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a "Thank you for your contribution" somewhere in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we say "soon" instead of "within 2 business days". I'd rather beat their expectations (because they weren't expecting us to respond soon), rather than not meet the expectations we place on ourselves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, sure!
|
||
EOF | ||
|
||
shuf -n 1 <(printf "ndmckinley\nrambleraptor\nchrisst\nrileykarson\nSirGitsalot\nslevenick") > comment/assignee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of this (we'll forget to update it), but I'm assuming it's unavoidable. Is there a way to get this info from the GitHub API (getting a list of people from a team?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotta have a list someplace - the Github Graphite team has 42 members and maybe 1 in 5 of them is a regular contributor who checks their github notifications.
I am a robot that works on MagicModules PRs! Once this PR is approved, you can feel free to merge it without taking any further steps. |
echo > comment/pr_comment << EOF | ||
Hello! I am a robot who works on Magic Modules PRs. | ||
|
||
I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. They will authorize it to run through our CI pipeline, which will generate downstream PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we say "soon" instead of "within 2 business days". I'd rather beat their expectations (because they weren't expecting us to respond soon), rather than not meet the expectations we place on ourselves.
I am a robot that works on MagicModules PRs! Once this PR is approved, you can feel free to merge it without taking any further steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding this to the message?
Tracked submodules are build/terraform-beta build/terraform build/ansible build/inspec.
7e5edec
to
5c9649a
Compare
Random assignee from a list in a file right now - we could probably make it better, but imo this is good enough when it comes to this sort of thing.
[all]
CI changes only.
[terraform]
[terraform-beta]
[ansible]
[inspec]