Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/agents/setup-agentic-workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You'll need a GitHub Personal Access Token with Copilot subscription.
**Set the secret** in a separate terminal window (never share your secret directly with the agent):

```bash
gh secret set COPILOT_CLI_TOKEN -a actions --body "your-github-pat-here"
gh secret set COPILOT_GITHUB_TOKEN -a actions --body "your-github-pat-here"
```
````

Expand Down
6 changes: 3 additions & 3 deletions .github/instructions/copilot-cli.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm install -g @github/copilot
```

**Environment Variables:**
- `GITHUB_TOKEN` or `COPILOT_CLI_TOKEN`: GitHub token for authentication
- `GITHUB_TOKEN` or `COPILOT_GITHUB_TOKEN`: GitHub token for authentication (legacy name `COPILOT_CLI_TOKEN` also supported)
- `XDG_CONFIG_HOME`: Configuration directory (defaults to `/tmp/gh-aw/.copilot/`)
- `XDG_STATE_HOME`: State/cache directory (defaults to `/tmp/gh-aw/.copilot/`)

Expand Down Expand Up @@ -139,7 +139,7 @@ engine:
- Custom tools require proper MCP server configuration

### Authentication
- Use `COPILOT_CLI_TOKEN` secret for GitHub token (NOT the default GITHUB_TOKEN)
- Use `COPILOT_GITHUB_TOKEN` secret for GitHub token (legacy `COPILOT_CLI_TOKEN` also supported)
- GitHub Actions default token is incompatible with Copilot CLI
- Must use Personal Access Token (PAT)
- Ensure token has appropriate permissions for repository access
Expand Down Expand Up @@ -211,7 +211,7 @@ copilot --add-dir /tmp/gh-aw \

### Authentication Issues
- **GitHub Actions Token Incompatibility**: The default `GITHUB_TOKEN` does NOT work with Copilot CLI
- Verify you're using a Personal Access Token in `COPILOT_CLI_TOKEN` secret
- Verify you're using a Personal Access Token in `COPILOT_GITHUB_TOKEN` secret (or legacy `COPILOT_CLI_TOKEN`)
- Verify the token is associated with a Copilot-enabled GitHub account
- For GitHub Enterprise, contact admin for Copilot CLI token access

Expand Down
2 changes: 1 addition & 1 deletion .github/instructions/http_mcp_headers.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ env:
DD_APPLICATION_KEY: ${{ secrets.DD_APPLICATION_KEY }}
DD_SITE: ${{ secrets.DD_SITE || 'datadoghq.com' }}
GH_AW_MCP_CONFIG: /home/runner/.copilot/mcp-config.json
GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
# ... other env vars
```

Expand Down
104 changes: 74 additions & 30 deletions .github/workflows/artifacts-summary.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 36 additions & 1 deletion .github/workflows/audit-workflows.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 36 additions & 1 deletion .github/workflows/blog-auditor.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading