copilot-setup-steps.yml 772 B

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