Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 3, 2025

Overview

This PR adds GitHub Copilot workspace setup configuration to automate the development environment setup for contributors. The configuration installs and configures mise, a modern polyglot tool version manager that replaces the need for manual tool installation.

Changes

New Files

  1. .github/copilot-setup-steps.yml - GitHub Copilot workspace setup configuration that:

    • Installs mise via the official installation script
    • Configures mise activation in bash shell
    • Installs development tools (Terraform and Python) using mise
    • Sets up pre-commit hooks automatically
  2. .tool-versions - Mise configuration file that specifies:

    • Terraform 1.5.7 (matches existing .terraform-version)
    • Python 3.10.8 (matches existing .python-version)

Benefits

  • Automated Setup: Contributors get a fully configured development environment with a single setup command
  • Version Management: mise ensures everyone uses the correct versions of Terraform and Python
  • Consistency: Eliminates "works on my machine" issues by standardizing tool versions
  • Efficiency: Reduces onboarding time for new contributors

How It Works

When GitHub Copilot workspace setup runs, it executes the steps defined in copilot-setup-steps.yml:

  1. Downloads and installs mise
  2. Configures mise in the bash environment
  3. Reads .tool-versions and installs Terraform 1.5.7 and Python 3.10.8
  4. Installs the pre-commit framework
  5. Initializes pre-commit hooks for the repository

Contributors will have all necessary tools installed and ready to run pre-commit run -a and start contributing immediately.

Compatibility

This change is backward compatible and doesn't affect existing workflows or require any changes to the codebase. Developers can continue using their existing tool management approach, or opt-in to using mise for a more streamlined experience.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • mise.jdx.dev
    • Triggering command: curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Add copilot-setup-steps.yml to this repo and ensure it installs mise


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI changed the title [WIP] Add copilot-setup-steps.yml to this repo and ensure it installs mise docs: Add copilot-setup-steps.yml with mise installation Oct 3, 2025
Copilot AI requested a review from baolsen October 3, 2025 08:04
@baolsen
Copy link
Contributor

baolsen commented Oct 3, 2025

@copilot Please use a mise.toml file for managing tool versions, and remove the other idiosyncratic version files from the repo. There should be 1 place where tool versions are defined, ie in the mise.toml

@baolsen baolsen marked this pull request as ready for review October 3, 2025 08:36
@baolsen baolsen merged commit a6e9e87 into main Oct 3, 2025
11 of 12 checks passed
@baolsen baolsen deleted the copilot/fix-135f2cf8-f49c-4527-b155-552331c80766 branch October 3, 2025 10:05
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