Skip to content

[WIP] Add features.copilot-requests to enable Copilot integration#18014

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/add-copilot-requests-feature
Closed

[WIP] Add features.copilot-requests to enable Copilot integration#18014
Copilot wants to merge 1 commit intomainfrom
copilot/add-copilot-requests-feature

Conversation

Copy link
Contributor

Copilot AI commented Feb 24, 2026

  • Explore codebase to understand structure
  • Add CopilotRequestsFeatureFlag constant in pkg/constants/constants.go
  • Add PermissionCopilotRequests scope in pkg/workflow/permissions.go
  • Skip secret validation step when copilot-requests feature is enabled in copilot_engine_installation.go
  • Add copilot-requests: write permission in compiler_activation_jobs.go buildMainJob()
  • Pass ${{ github.token }} instead of ${{ secrets.COPILOT_GITHUB_TOKEN }} in copilot_engine_execution.go when feature is enabled
  • Update GetRequiredSecretNames in copilot_engine.go to exclude COPILOT_GITHUB_TOKEN when feature is enabled
  • Add tests in copilot_requests_feature_test.go
  • Address code review feedback
  • Run CodeQL security check (no issues found)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

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.

2 participants