-
Notifications
You must be signed in to change notification settings - Fork 20
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
RFC: Process Github issue_comment events to support adhoc task creation #168
Conversation
ed56d2c
to
8a1025a
Compare
8a1025a
to
e6d1059
Compare
Another thing to consider here is that we currently don't subscribe to issue-comment events. https://docs.taskcluster.net/docs/manual/deploying/github describes what we do subscribe to, and the "Pull Request" option has the following help text:
So, I think that listening for comment events will require changing that setting in the app, and last time we tried this that meant GitHub emailed all app users and asked them to re-authorize the app before allowing it to subscribe to those events. The app continues to work without the events until that re-authorization occurs. So, not a big problem, but something to be aware of for deployers. |
This was my read, too.
Good to know! Once this is available, it's a pretty big carrot so I suspect it'll be easy to get folks to re-authorize to gain access to the feature. |
FYI: see changes to how GitHub is addressing this issue [update 2021-05-07] This works differently than I thought at first -- this is a DoS via excessive PR prevention. Even when approved, PRs from forks do not have access to workflow secrets. The links on this page clarify that point. |
I saw that! It's a neat idea, and actually a bit better than what's proposed here, since it learns who is trusted over time. This proposal would require approval for every PR for the same contributor. We could extend to do something nicer like that later, I suspect. |
Not as I read GitHub's proposal -- I assume it's in the context of a "normal" GitHub account, where there is a separate "maintainer" permissions group (above "write", below "admin"). So:
[edited to clarify antecedents. dang prepositions!] |
Are you talking about this proposal, or Github's? If you're talking about Github's, I agree! If you're talking about this one, there's currently no plan in place to support an allow list (besides the existing mechanism of adding the user as a |
adebddd
to
6ba090e
Compare
6ba090e
to
4ee5f2a
Compare
416640f
to
7463214
Compare
It looks to me like this is pretty much settled. I just pushed a change to update the summary/motivation sections to match the more general implementation we ended up settling on, but I think this is ready for Final Comment. @imbstack, @petemoore - what do you think? (Please mark as Final Comment if you think it's ready, I don't have the ability to do so...) |
7463214
to
6d05061
Compare
6d05061
to
6a19847
Compare
I heard no objections in Final Comment. I opened https://bugzilla.mozilla.org/show_bug.cgi?id=1715848 for tracking implementation. @petemoore or @imbstack - can one of you merge this, please? |
No description provided.