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(misc): prioritize github onboarding flow #27085

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

mandarini
Copy link
Member

  • Prioritized remotes in the order: origin, upstream, base, and then the first remote found, when trying to determine if repo uses GitHub.
  • Implemented fallback to a default GitHub onboarding URL (/setup/connect-workspace/github/select) if no remotes are found.
  • Added corresponding unit tests to verify the new remote priority order and fallback behavior.

@mandarini mandarini self-assigned this Jul 24, 2024
@mandarini mandarini requested a review from a team as a code owner July 24, 2024 09:54
@mandarini mandarini requested a review from Cammisuli July 24, 2024 09:54
Copy link

vercel bot commented Jul 24, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jul 24, 2024 10:28am

@mandarini mandarini requested review from FrozenPandaz and catfireparty and removed request for Cammisuli July 24, 2024 09:54
@mandarini mandarini force-pushed the feat/prioritize-github-flow branch from 8f1068d to b29c970 Compare July 24, 2024 10:02
@mandarini mandarini force-pushed the feat/prioritize-github-flow branch from b29c970 to 57245c5 Compare July 24, 2024 10:25
Copy link

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx [email protected] my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-27085-57245c5
Release details 📑
Published version 0.0.0-pr-27085-57245c5
Triggered by @mandarini
Branch feat/prioritize-github-flow
Commit 57245c5
Workflow run 10075144144

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

@mandarini mandarini merged commit 7a642ee into nrwl:master Jul 24, 2024
6 checks passed
ndcunningham pushed a commit that referenced this pull request Jul 24, 2024
* Prioritized remotes in the order: `origin`, `upstream`, `base`, and
then the first remote found, when trying to determine if repo uses
GitHub.
* Implemented fallback to a default GitHub onboarding URL
(`/setup/connect-workspace/github/select`) if no remotes are found.
* Added corresponding unit tests to verify the new remote priority order
and fallback behavior.
FrozenPandaz pushed a commit that referenced this pull request Jul 24, 2024
* Prioritized remotes in the order: `origin`, `upstream`, `base`, and
then the first remote found, when trying to determine if repo uses
GitHub.
* Implemented fallback to a default GitHub onboarding URL
(`/setup/connect-workspace/github/select`) if no remotes are found.
* Added corresponding unit tests to verify the new remote priority order
and fallback behavior.

(cherry picked from commit 7a642ee)
Copy link

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 Jul 30, 2024
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.

2 participants