microsoft/gctoolkit
Publicmirrored fromhttps://github.com/microsoft/gctoolkitAvailable
.github/workflows/copilot-setup-steps.yml
26lines · modecode
| 1 | name: "Copilot Setup Steps" |
| 2 | |
| 3 | # This workflow configures the environment for GitHub Copilot Agent with gh-aw MCP server |
| 4 | on: |
| 5 | workflow_dispatch: |
| 6 | push: |
| 7 | paths: |
| 8 | - .github/workflows/copilot-setup-steps.yml |
| 9 | |
| 10 | jobs: |
| 11 | # The job MUST be called 'copilot-setup-steps' to be recognized by GitHub Copilot Agent |
| 12 | copilot-setup-steps: |
| 13 | runs-on: ubuntu-latest |
| 14 | |
| 15 | # Set minimal permissions for setup steps |
| 16 | # Copilot Agent receives its own token with appropriate permissions |
| 17 | permissions: |
| 18 | contents: read |
| 19 | |
| 20 | steps: |
| 21 | - name: Checkout repository |
| 22 | uses: actions/checkout@v4 |
| 23 | - name: Install gh-aw extension |
| 24 | uses: github/gh-aw/actions/setup-cli@v0.50.4 |
| 25 | with: |
| 26 | version: v0.50.4 |
| 27 | |