driazati commented on issue #12335:
URL: https://github.com/apache/tvm/issues/12335#issuecomment-1208362322
This would be nice (and we could do something similar to de-duplicate some
other inlined code) but I think we'll need to re-implement some of the Jenkins
trust mechanism first since it'd be pretty trivial for anyone to then mess with
the CI runners (i.e. if a PR is not from a trusted user then we use the
versions of files X Y and Z from the base commit and not from the PR HEAD,
similar to how the `Jenkinsfile` works) with a test like
```
trusted = false
if env.BRANCH_NAME.startswith("PR-"):
if env.CHANGE_AUTHOR in `CONTRIBUTORS.md:
trusted = true
else:
trusted = true
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]