Another Copilot CLI issue #21
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
| # ============================================================================ | ||
| # GitHub Copilot Coder - Caller Workflow | ||
| # ============================================================================ | ||
| # This is a lightweight caller workflow that invokes the master workflow | ||
| # from the central GHES_CodingAgent repository. | ||
| # | ||
| # Benefits: | ||
| # - No scripts folder needed in this repository | ||
| # - Automatic updates when master workflow is improved | ||
| # - Consistent behavior across all repositories | ||
| # | ||
| # Prerequisites: | ||
| # - GH_TOKEN secret: Classic PAT with repo and workflow scopes | ||
| # - COPILOT_TOKEN secret: Token for GitHub Copilot API access | ||
| # - CONTEXT7_API_KEY secret (optional): API key for Context7 service | ||
| # ============================================================================ | ||
| name: 🤖 GitHub Copilot Coder | ||
| on: | ||
| issues: | ||
| types: [labeled] | ||
| jobs: | ||
| copilot: | ||
| # Only run when the issue has the 'copilot' label | ||
| if: contains(github.event.issue.labels.*.name, 'copilot') | ||
| # Call the master workflow from the central repository | ||
| # Replace <org> with your GHES organization name | ||
| uses: ghes-test/GHES_CodingAgent/.github/workflows/copilot-coder-master.yml@main | ||
|
Check failure on line 31 in .github/workflows/copilot-coder.yml
|
||
| # Pass all secrets to the called workflow | ||
| secrets: inherit | ||