copilot-setup-steps.yml 868 B

12345678910111213141516171819202122232425262728
  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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
  19. with:
  20. persist-credentials: false
  21. - name: Install gh-aw extension
  22. uses: github/gh-aw-actions/setup-cli@221ba4f4319de6b8e809d1a15528b3ae6a818aa5 # v1.0.1
  23. with:
  24. version: v1.0.1