Skip to content

Instantly share code, notes, and snippets.

@sgbaird
Last active October 17, 2025 20:38
Show Gist options
  • Select an option

  • Save sgbaird/f5e7098a68b5f9a7547999678c87593b to your computer and use it in GitHub Desktop.

Select an option

Save sgbaird/f5e7098a68b5f9a7547999678c87593b to your computer and use it in GitHub Desktop.
Minimal setup instructions for GitHub copilot coding agent. Place in .github/workflows/copilot-setup-steps.yml per documentation at https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment
name: "Copilot Setup Steps"
on:
workflow_dispatch:
push:
paths: [.github/workflows/copilot-setup-steps.yml]
pull_request:
paths: [.github/workflows/copilot-setup-steps.yml]
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
env:
PIP_TIMEOUT: 600
PIP_RETRIES: 2
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install package and dev dependencies
run: |
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment