-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Expose env vars when building docs from a PR/MR #7182
Comments
As I can see, env vars UI is implemented as storage for secrets. How about adding the ability to provide some env vars via a YAML config? That would be public and wouldn't need any extra protection implementation. |
Yes. We do not expose env variables in PRs as a security protection.
You already opened an issue for this at #6311. We haven't done a decision yet. |
Yeah, I figured that it's because of the security considerations :)
Ah, right. I've forgotten about that one. FWIW this issue brings another perspective at the problem because I didn't realize that missing open env vars feature would also hit the PR integration. So the current issue is about a slightly different side of it. |
Now you can expose env vars in PRs, isn't documented #8159 but you can find the option in the UI. |
Details
Expected Result
Successful build
Actual Result
Loading a repo-local in-tree Sphinx extension fails in PR builds (with
ImportError
) but is successful on master.I've just realized that I've set
PYTHONPATH
in the UI earlier to make it work. And now it looks like it is set in normal builds but not in PRs.The text was updated successfully, but these errors were encountered: