Skip to content

Create Copilot setup workflow#197

Merged
Jordi Soucheiron (jsoucheiron) merged 2 commits intomasterfrom
copilot/create-copilot-setup-files
Feb 3, 2026
Merged

Create Copilot setup workflow#197
Jordi Soucheiron (jsoucheiron) merged 2 commits intomasterfrom
copilot/create-copilot-setup-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 2, 2026

Description

Adds .github/workflows/copilot-setup-steps.yml to pre-configure GitHub Copilot's ephemeral development environment before it starts working on tasks.

The workflow:

  • Sets up Python 3.9 with pip caching
  • Installs dev dependencies via make install-dev
  • Runs on workflow_dispatch and when the workflow file changes

This avoids Copilot's trial-and-error dependency installation process, providing immediate access to pytest, black, isort, ruff, and other dev tools.

Checklist

  • I have updated the pyproject.toml
Original prompt

This section details on the original issue you should resolve

<issue_title>Create copilot setup files</issue_title>
<issue_description>We need to setup the project to make copilot more effective following https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment</issue_description>

Comments on the Issue (you are Copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Create setup files for Copilot project Create Copilot setup workflow Feb 2, 2026
@jsoucheiron Jordi Soucheiron (jsoucheiron) marked this pull request as ready for review February 2, 2026 15:47
Copilot AI review requested due to automatic review settings February 2, 2026 15:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR creates a GitHub workflow to pre-configure the development environment for GitHub Copilot's coding agent. The workflow sets up Python 3.9 with pip caching and installs development dependencies, enabling Copilot to start working immediately without trial-and-error dependency installation.

Changes:

  • Added .github/workflows/copilot-setup-steps.yml workflow file
  • Configured triggers for workflow_dispatch, push, and pull_request events when the workflow file changes
  • Set up Python environment and dev dependency installation steps

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jsoucheiron Jordi Soucheiron (jsoucheiron) force-pushed the copilot/create-copilot-setup-files branch from 90d817f to 334b69d Compare February 2, 2026 16:17
Copilot AI and others added 2 commits February 2, 2026 17:19
Co-authored-by: jsoucheiron <1830262+jsoucheiron@users.noreply.github.com>
@jsoucheiron Jordi Soucheiron (jsoucheiron) force-pushed the copilot/create-copilot-setup-files branch from 334b69d to f7f5b5e Compare February 2, 2026 16:19
@jsoucheiron Jordi Soucheiron (jsoucheiron) merged commit 3665023 into master Feb 3, 2026
14 checks passed
@jsoucheiron Jordi Soucheiron (jsoucheiron) deleted the copilot/create-copilot-setup-files branch February 3, 2026 09:40
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.

Create copilot setup files

5 participants