[copilot-session-insights] Copilot Agent Session Analysis - Configuration Required #4937
Closed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
⚙️ Copilot Agent Session Analysis - Configuration Required
Issue
The Copilot Agent Session Analysis workflow attempted to run but could not access session data.
Run Details:
Root Cause
Session data could not be fetched due to one or more of the following reasons:
Required Setup
To enable this workflow, the following requirements must be met:
1. GitHub Enterprise Copilot Subscription
This workflow requires GitHub Enterprise with Copilot enabled. The
gh agent-taskCLI extension is only available to Enterprise customers with Copilot access.Check your access:
2. Install gh agent-task Extension
The workflow runner needs the
gh agent-taskextension installed:For GitHub Actions runners:
3. Configure Authentication Token
The workflow needs a Personal Access Token (PAT) with appropriate permissions:
Create a secret named
GH_AW_COPILOT_TOKEN:repo- Full control of private repositoriesread:org- Read organization dataworkflow- Update GitHub Actions workflowsGH_AW_COPILOT_TOKENImportant: The default
GITHUB_TOKENdoes NOT have sufficient permissions for agent task API access. A Personal Access Token is required.4. Verify Access
Test your configuration:
If these commands work, the workflow should succeed on the next run.
Troubleshooting
Extension Not Found
Solution: Install the extension:
Authentication Failed
Solution:
GH_AW_COPILOT_TOKENsecret is configuredNo Sessions Available
Solution:
Next Steps
Once configuration is complete:
Verify requirements:
gh agent-taskextension installed on runnerGH_AW_COPILOT_TOKENsecret configured with valid PATTest manually:
gh agent-task listto verify accessRe-run workflow:
Additional Resources
Contact
For questions or assistance with configuration:
This configuration guide was generated automatically because session data was unavailable.
Workflow run: §19742105539
Date: 2025-11-27
Beta Was this translation helpful? Give feedback.
All reactions