Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-doctor.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/cloclo.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/dev.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/smoke-copilot.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/workflow/compiler_activation_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (c *Compiler) buildActivationJob(data *WorkflowData, preActivationJobCreate
if err != nil {
return nil, fmt.Errorf("failed to marshal label-command names: %w", err)
}
steps = append(steps, fmt.Sprintf(" GH_AW_LABEL_NAMES: '%s'\n", string(labelNamesJSON)))
steps = append(steps, fmt.Sprintf(" GH_AW_LABEL_NAMES: %q\n", string(labelNamesJSON)))
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

The PR description mentions this change is "consistent with every other JSON env var in the codebase", but there are still other JSON env vars embedded with single-quoted '%s' (e.g., pkg/workflow/compiler_pre_activation_job.go:226 uses %q, but pkg/workflow/compiler_yaml_main_job.go:109 uses '%s' for GH_AW_REPOSITORY_IMPORTS and pkg/workflow/compiler_yaml.go:683 uses '%s' for GH_AW_INFO_ALLOWED_DOMAINS). Consider either adjusting the description, or (as a follow-up) standardizing these remaining JSON env vars to a safe quoting/escaping strategy as well.

Copilot uses AI. Check for mistakes.
steps = append(steps, " with:\n")
// Use GitHub App or custom token if configured (avoids needing elevated GITHUB_TOKEN permissions)
labelToken := c.resolveActivationToken(data)
Expand Down
Loading