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

fix(misc): mark name as required for ci-workflow generator #17551

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

MaxKless
Copy link
Collaborator

@MaxKless MaxKless commented Jun 12, 2023

In Nx Console, it looks weird if you have to expand all options when there's only two overall and there's no reason to not see both at the same time.

@MaxKless MaxKless requested review from a team as code owners June 12, 2023 10:33
@vercel
Copy link

vercel bot commented Jun 12, 2023

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

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 8:40am

@nx-cloud
Copy link

nx-cloud bot commented Jun 12, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 51cdbad. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link
Contributor

@meeroslav meeroslav left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -31,7 +31,8 @@
},
"default": "CI",
"x-prompt": "How should we name your workflow?",
"pattern": "^[a-zA-Z].*$"
"pattern": "^[a-zA-Z].*$",
"x-priority": "important"
Copy link
Collaborator

@FrozenPandaz FrozenPandaz Jun 12, 2023

Choose a reason for hiding this comment

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

pedantic: I think it should be required. I'm surprised it isn't marked as required. We should opt for that instead of using x-priority.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There's a default value of CI that's used when you don't provide a name... I guess we could remove that and make name required but then again sometimes folks might want to create a workflow and don't care what it's called.

@FrozenPandaz FrozenPandaz changed the title chore(misc): mark name as important for ci-workflow generator fix(misc): mark name as important for ci-workflow generator Jun 12, 2023
@MaxKless MaxKless changed the title fix(misc): mark name as important for ci-workflow generator fix(misc): mark name as required for ci-workflow generator Jun 13, 2023
@MaxKless MaxKless force-pushed the ci-worksflow-important branch from 277bbd5 to eb48fe0 Compare June 13, 2023 14:13
@github-actions
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 Jun 28, 2023
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.

4 participants