Skip to content

Add copilot-setup-steps.yml for GitHub Copilot environment configuration#20

Closed
Copilot wants to merge 3 commits intocopilot-coding-agent-envfrom
copilot/add-copilot-setup-steps
Closed

Add copilot-setup-steps.yml for GitHub Copilot environment configuration#20
Copilot wants to merge 3 commits intocopilot-coding-agent-envfrom
copilot/add-copilot-setup-steps

Conversation

Copy link

Copilot AI commented Feb 9, 2026

Configures GitHub Copilot's ephemeral development environment with pre-installed dependencies, avoiding LLM-based trial-and-error discovery during agent tasks.

Changes

  • New workflow: .github/workflows/copilot-setup-steps.yml
    • Python 3.10 + dependencies (docker==7.0.0, mysqlclient==2.2.4, pymongo==4.7.2)
    • Pre-builds techempower/tfb Docker image
    • Checkout with fetch-depth: 10 for git history operations
    • Runs on ubuntu-22.04 matching build.yml

Key decisions

  • Version pins match Dockerfile for consistency
  • Job name copilot-setup-steps required for Copilot recognition
  • Minimal permissions (contents: read)
  • Workflow triggers included for validation testing
Original prompt

Add copilot-setup-steps.yml adapting from build.yml following https://docs.github.com/en/enterprise-cloud@latest/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment#preinstalling-tools-or-dependencies-in-copilots-environment.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 9, 2026 03:50
Co-authored-by: ShreckYe <27768951+ShreckYe@users.noreply.github.com>
Co-authored-by: ShreckYe <27768951+ShreckYe@users.noreply.github.com>
Copilot AI changed the title [WIP] Add copilot setup steps from build.yml Add copilot-setup-steps.yml for GitHub Copilot environment configuration Feb 9, 2026
Copilot AI requested a review from ShreckYe February 9, 2026 03:52
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 9, 2026

Copy link
Member

@ShreckYe ShreckYe left a comment

Choose a reason for hiding this comment

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

And also CI fails.

Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look like build.yml at all.

@ShreckYe ShreckYe closed this Feb 9, 2026
@ShreckYe
Copy link
Member

ShreckYe commented Feb 9, 2026

I was wrong. The "Copilot Setup Steps" workflow actually worked.

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