-
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
Testing new pull request target with label from repo user #2021
Testing new pull request target with label from repo user #2021
Conversation
Signed-off-by: miguelgfierro <[email protected]>
Signed-off-by: miguelgfierro <[email protected]>
The tests are not executed azureml-unit-tests / ${{ join(matrix.*, ', ') }} (pull_request_target) Skipped If I remove the if clause, the tests don't start either: if: github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) |
Signed-off-by: miguelgfierro <[email protected]>
Signed-off-by: miguelgfierro <[email protected]>
…m/recommenders into miguel/test_prt_no_fork
@@ -35,7 +35,6 @@ on: | |||
jobs: | |||
get-test-groups: | |||
runs-on: ubuntu-latest |
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.
Try:
if: |
github.event_name == 'pull_request' &&
(github.event.pull_request.labels.*.name contains 'safe to test' || github.event.pull_request.head.repo.fork == 'false')
steps:
Signed-off-by: miguelgfierro <[email protected]>
Description
Related Issues
#1853
References
Checklist:
staging branch
and not tomain branch
.