Copilot Setup Steps #38
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Copilot Setup Steps" | |
| # This workflow configures the environment for GitHub Copilot Agent with gh-aw MCP server | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| jobs: | |
| # The job MUST be called 'copilot-setup-steps' to be recognized by GitHub Copilot Agent | |
| copilot-setup-steps: | |
| runs-on: ubuntu-latest | |
| # Set minimal permissions for setup steps | |
| # Copilot Agent receives its own token with appropriate permissions | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Setup Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2 | |
| - name: Install gh-aw extension | |
| run: | | |
| curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh | bash | |
| - name: Verify gh-aw installation | |
| run: gh aw version |