Skip to content

Conversation

@maliroteh-sf
Copy link
Contributor

@maliroteh-sf maliroteh-sf commented Jun 27, 2024

What does this PR do?

Enable running CI jobs on PRs from forks

What issues does this PR fix or reference?

@W-15906501@

@maliroteh-sf maliroteh-sf requested a review from a team as a code owner June 27, 2024 20:07

env:
UT_DISABLE_NODE_CURRENT: true
NODE_VERSION_OVERRIDE: [lts/-1, lts/*]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the NODE_VERSION_OVERRIDE? I thought this was already the criteria for the node version.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be removed

Copy link
Contributor Author

@maliroteh-sf maliroteh-sf Jun 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it can be removed. I was just experimenting here. After adding UT_DISABLE_NODE_CURRENT: true for some reason PRs that are from forks are still failing due to wrong node version (see here) but PRs from branches on the main repo pass (see here)

This didn't make sense to me and I was just curious to see if by adding NODE_VERSION_OVERRIDE I can fix the issue.

@maliroteh-sf maliroteh-sf changed the title [IGNORE] ci: run tests on pull requests ci: run tests on pull requests from forks Jun 27, 2024
@maliroteh-sf maliroteh-sf merged commit b316dfd into salesforcecli:main Jun 27, 2024
@maliroteh-sf maliroteh-sf deleted the fork_ci branch June 27, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants