-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[FEATURE] Enable secure external execution of tests #1853
Comments
Ideas:From Jianjie: From Miguel: |
The current state is that when an external person does a PR, the admins need to press a button before the tests run, see https://github.com/recommenders-team/recommenders/actions/runs/6026551815/attempts/1 however, when this is pressed, then there is an authentication error with AzureML:
|
Follow the idea of feathr. They use a label that can be only added by an admin, after it is done, the triggers are done also for people that come from a fork. Blair Chen is going to send us more info about it. |
hey @blrchen, one question, if seems that when we add the line Ideally what we would like is that the tests are executed automatically if one of the maintainers do a PR and that we need to add the label if the PR comes from a fork (an outsider). Do you know whether this is possible? |
We are a small team with only a few PR activities each week, so manually adding labels is manageable. If you prefer automation, you might consider enabling a PR bot to assign labels automatically if a PR is submitted by someone from approved list. |
thanks @blrchen. Do you have some code example of a similar bot? |
Hi @miguelgfierro , Unfortunately I don't have any samples. I've noticed that many repositories setup workflows to manage custom labels for issues and PRs. This could potentially be a solution. |
Things I've tried:
|
Description
Since we removed the pull_request_target on GitHub (see #1840), external contributors won't trigger the tests. We need to think in ways of enabling this solution.
Expected behavior with the suggested feature
Other Comments
The text was updated successfully, but these errors were encountered: