Skip to content
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

feat(core): don't clear NX_BASE or NX_HEAD #20125

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

MJez29
Copy link
Contributor

@MJez29 MJez29 commented Nov 8, 2023

Current Behavior

When I try to access the NX_BASE environment variable that I set in CI from a local executor it returns undefined

Expected Behavior

I can access the NX_BASE value that I set in CI within a local executor

Related Issue(s)

The behavior was added in #10523 however it is unclear why it was necessary. As far as I can tell Nx does not write to these environment variables. The nearby comment says that they are being reset in case Nx is called within Nx however I precisely do not want them reset so that I can call Nx within Nx and re-use the same base and head

This is tangentially related to this discord question

@MJez29 MJez29 requested a review from a team as a code owner November 8, 2023 13:26
Copy link

vercel bot commented Nov 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 29, 2024 2:37pm

@meeroslav meeroslav merged commit f9009e9 into nrwl:master Jan 29, 2024
6 checks passed
FrozenPandaz pushed a commit that referenced this pull request Jan 31, 2024
Copy link

github-actions bot commented Feb 4, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
@MJez29 MJez29 deleted the do-not-delete-NX_BASE-NX_HEAD branch February 5, 2024 14:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants