Skip to content

Add new GitHub Actions workflow for Copilot environment setup#2194

Open
shachafl wants to merge 1 commit intomasterfrom
shachafl-copilot-agent-environment-setup-fix
Open

Add new GitHub Actions workflow for Copilot environment setup#2194
shachafl wants to merge 1 commit intomasterfrom
shachafl-copilot-agent-environment-setup-fix

Conversation

@shachafl
Copy link
Collaborator

This pull request updates the way Copilot's environment setup steps are managed by removing the previous .github/copilot-setup-steps.yml configuration file and replacing it with a new GitHub Actions workflow .github/workflows/copilot-setup-steps.yml. The new workflow leverages GitHub Actions to automate and validate the setup process, ensuring consistency and enabling easier testing.

Key changes:

Migration to GitHub Actions workflow:

  • Removed the standalone .github/copilot-setup-steps.yml file, which previously documented and scripted the environment setup steps for Copilot, including system dependencies, Python version management, and supported Makefile targets.
  • Added a new .github/workflows/copilot-setup-steps.yml workflow that:
    • Defines a reusable, matrix-based workflow to test setup on Python 3.10 and 3.13.
    • Automates code checkout, Python environment setup, dependency installation, linting, type checking, and running fast tests.
    • Triggers on workflow dispatch, and on changes to the workflow file itself via push or pull request events.

Simplification and automation:

  • The new workflow consolidates environment setup, dependency installation, and basic validation (linting, type checking, and tests) into a single, easily maintainable CI workflow.
  • The previous manual documentation and step-wise scripting are now handled by standardized GitHub Actions, reducing duplication and improving reliability.

Overall, this change modernizes and streamlines the Copilot setup process by leveraging GitHub Actions for automation and validation.

Current .github/copilot-setup-steps.yml generated with the assistance of Copilot is not working.
The new file should make sure Copilot agent environment is enabled before it starts any work.
@shachafl shachafl requested a review from berl February 25, 2026 22:16
@shachafl shachafl self-assigned this Feb 25, 2026
@shachafl shachafl added the bug An issue with an existing feature label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue with an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant