Skip to content

feat: set GITHUB_COPILOT_INTEGRATION_ID env var for Copilot CLI#24164

Draft
eaftan wants to merge 1 commit intomainfrom
eaftan/integrator-id
Draft

feat: set GITHUB_COPILOT_INTEGRATION_ID env var for Copilot CLI#24164
eaftan wants to merge 1 commit intomainfrom
eaftan/integrator-id

Conversation

@eaftan
Copy link
Copy Markdown
Contributor

@eaftan eaftan commented Apr 2, 2026

When running the Copilot CLI in agentic workflows, set GITHUB_COPILOT_INTEGRATION_ID=agentic-workflows so the CLI knows it is being invoked by gh-aw.

Changes

  • Added CopilotCLIIntegrationIDEnvVar and CopilotCLIIntegrationIDValue constants in pkg/constants/constants.go
  • Set the env var in pkg/workflow/copilot_engine_execution.go for all Copilot engine execution steps
  • Updated golden test files and recompiled all workflow lock files

When running the Copilot CLI in agentic workflows, set
GITHUB_COPILOT_INTEGRATION_ID=agentic-workflows so the CLI
knows it is being invoked by gh-aw.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant