Skip to content

Commit 7d030cd

Browse files
authored
Merge main branch and recompile workflows (#3149)
1 parent a56f956 commit 7d030cd

File tree

77 files changed

+1361
-8378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1361
-8378
lines changed

.github/agents/setup-agentic-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You'll need a GitHub Personal Access Token with Copilot subscription.
4343
**Set the secret** in a separate terminal window (never share your secret directly with the agent):
4444
4545
```bash
46-
gh secret set COPILOT_CLI_TOKEN -a actions --body "your-github-pat-here"
46+
gh secret set COPILOT_GITHUB_TOKEN -a actions --body "your-github-pat-here"
4747
```
4848
````
4949

.github/instructions/copilot-cli.instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ npm install -g @github/copilot
2525
```
2626

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

@@ -139,7 +139,7 @@ engine:
139139
- Custom tools require proper MCP server configuration
140140
141141
### Authentication
142-
- Use `COPILOT_CLI_TOKEN` secret for GitHub token (NOT the default GITHUB_TOKEN)
142+
- Use `COPILOT_GITHUB_TOKEN` secret for GitHub token (legacy `COPILOT_CLI_TOKEN` also supported)
143143
- GitHub Actions default token is incompatible with Copilot CLI
144144
- Must use Personal Access Token (PAT)
145145
- Ensure token has appropriate permissions for repository access
@@ -211,7 +211,7 @@ copilot --add-dir /tmp/gh-aw \
211211

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

.github/instructions/http_mcp_headers.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ env:
7979
DD_APPLICATION_KEY: ${{ secrets.DD_APPLICATION_KEY }}
8080
DD_SITE: ${{ secrets.DD_SITE || 'datadoghq.com' }}
8181
GH_AW_MCP_CONFIG: /home/runner/.copilot/mcp-config.json
82-
GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
82+
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
8383
# ... other env vars
8484
```
8585

.github/workflows/artifacts-summary.lock.yml

Lines changed: 26 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/brave.lock.yml

Lines changed: 26 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/changeset.lock.yml

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)