-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI 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 targetSent with 💌 from NxCloud. |
cc515bb
to
277bbd5
Compare
There was a problem hiding this 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" |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
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.
277bbd5
to
eb48fe0
Compare
eb48fe0
to
dff1177
Compare
dff1177
to
51cdbad
Compare
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. |
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.