@@ -182,7 +182,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
182
182
if m .desiredTasks .Value () != "" {
183
183
m .currentView = LoadingGHA
184
184
cmds = append (cmds , func () tea.Msg {
185
- prompt := fmt .Sprintf (`For a %v program, generate a GitHub Actions workflow that will include the following tasks: %v.
185
+ prompt := fmt .Sprintf (`For a %v program, generate a GitHub Action workflow that will include the following tasks: %v.
186
186
Name it "Ghost-generated pipeline". Leave placeholders for things like version and at the end of generating the
187
187
GitHub Action, tell the user what their next steps should be in a comment` , m .detectedLanguages , m .desiredTasks .Value ())
188
188
response , err := chatGPTRequest (prompt )
@@ -254,7 +254,7 @@ func (m model) View() string {
254
254
case LoadingDetectedLanguages :
255
255
return m .spinner .View () + "Detecting languages..."
256
256
case LoadingGHA :
257
- return m .spinner .View () + "Generating a GitHub Actions workflow...This might take a couple of minutes."
257
+ return m .spinner .View () + "Generating a GitHub Action workflow...This might take a couple of minutes."
258
258
case ConfirmLanguages :
259
259
if len (m .detectedLanguages ) == 0 {
260
260
log .Error ("Error: detected languages is empty" )
@@ -278,7 +278,7 @@ func (m model) View() string {
278
278
log .Error ("Error: detected languages is empty" )
279
279
return ""
280
280
}
281
- return textInputView (m , fmt .Sprintf ("%v What tasks should Ghost include in your GitHub Actions workflow?" , emoji .Ghost ), m .desiredTasks )
281
+ return textInputView (m , fmt .Sprintf ("%v What tasks should Ghost include in your GitHub Action workflow?" , emoji .Ghost ), m .desiredTasks )
282
282
case GenerateGHA :
283
283
if len (m .GHAWorkflow ) == 0 {
284
284
log .Error ("Error: detected languages or desired tasks is empty" )
@@ -287,7 +287,7 @@ func (m model) View() string {
287
287
return confirmationView (m ,
288
288
"" ,
289
289
"Great! Output to .github/workflows/ghost.yml" ,
290
- "I want Ghost to refine to generated GitHub Actions workflow" ,
290
+ "I want Ghost to refine to generated GitHub Action workflow" ,
291
291
true ,
292
292
m .GHAWorkflow )
293
293
case CorrectGHA :
0 commit comments