diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index 83abf92005..dcba8f6950 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -1172,7 +1172,7 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/opt/gh-aw/actions/safe_output_handler_manager.cjs'); await main(); - - name: Assign copilot to created issues + - name: Assign Copilot to created issues if: steps.process_safe_outputs.outputs.issues_to_assign_copilot != '' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 594ea8309f..dcd5a77556 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -1056,7 +1056,7 @@ jobs: setupGlobals(core, github, context, exec, io); const { main } = require('/opt/gh-aw/actions/safe_output_handler_manager.cjs'); await main(); - - name: Assign copilot to created issues + - name: Assign Copilot to created issues if: steps.process_safe_outputs.outputs.issues_to_assign_copilot != '' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: diff --git a/pkg/workflow/compile_outputs_issue_test.go b/pkg/workflow/compile_outputs_issue_test.go index b9e6939131..1235d06e63 100644 --- a/pkg/workflow/compile_outputs_issue_test.go +++ b/pkg/workflow/compile_outputs_issue_test.go @@ -346,7 +346,7 @@ This workflow tests that copilot assignment is wired in consolidated safe output } // Verify copilot assignment step is present and wired to handler manager output - if !strings.Contains(lockContent, "name: Assign copilot to created issues") { + if !strings.Contains(lockContent, "name: Assign Copilot to created issues") { t.Error("Expected copilot assignment step in consolidated safe_outputs job") } if !strings.Contains(lockContent, "GH_AW_ISSUES_TO_ASSIGN_COPILOT") || !strings.Contains(lockContent, "steps.process_safe_outputs.outputs.issues_to_assign_copilot") { diff --git a/pkg/workflow/compiler_safe_outputs_job.go b/pkg/workflow/compiler_safe_outputs_job.go index e6aed5b1e5..05d1bad9e3 100644 --- a/pkg/workflow/compiler_safe_outputs_job.go +++ b/pkg/workflow/compiler_safe_outputs_job.go @@ -236,7 +236,7 @@ func (c *Compiler) buildConsolidatedSafeOutputsJob(data *WorkflowData, mainJobNa // steps.process_safe_outputs.outputs.issues_to_assign_copilot. if data.SafeOutputs.CreateIssues != nil && hasCopilotAssignee(data.SafeOutputs.CreateIssues.Assignees) { consolidatedSafeOutputsJobLog.Print("Adding copilot assignment step for created issues") - steps = append(steps, " - name: Assign copilot to created issues\n") + steps = append(steps, " - name: Assign Copilot to created issues\n") steps = append(steps, " if: steps.process_safe_outputs.outputs.issues_to_assign_copilot != ''\n") steps = append(steps, fmt.Sprintf(" uses: %s\n", GetActionPin("actions/github-script"))) steps = append(steps, " env:\n") diff --git a/pkg/workflow/create_issue.go b/pkg/workflow/create_issue.go index ca1c75f9c6..f296c5ac5f 100644 --- a/pkg/workflow/create_issue.go +++ b/pkg/workflow/create_issue.go @@ -122,7 +122,7 @@ func buildCopilotAssignmentStep(configToken, safeOutputsToken, workflowToken str // Get the effective agent token with full precedence chain effectiveToken := getEffectiveAgentGitHubToken(configToken, getEffectiveAgentGitHubToken(safeOutputsToken, workflowToken)) - steps = append(steps, " - name: Assign copilot to created issues\n") + steps = append(steps, " - name: Assign Copilot to created issues\n") steps = append(steps, " if: steps.create_issue.outputs.issues_to_assign_copilot != ''\n") steps = append(steps, fmt.Sprintf(" uses: %s\n", GetActionPin("actions/github-script"))) steps = append(steps, " with:\n")