Commit d5dd526
Enable org-billed Copilot auth for agentic workflows (#10984)
This updates the repository’s agentic workflows to use the current
Copilot permission model for org-wide billing. The workflows no longer
depend on the legacy `COPILOT_GITHUB_TOKEN` secret path for Copilot
inference.
- **Workflow source updates**
- Updated the agentic workflow frontmatter in:
- `.github/workflows/bump-tcgc-csharp.md`
- `.github/workflows/issue-triage.md`
- Replaced broad `read-all` shorthand with explicit permissions that
preserve read access while enabling Copilot requests:
```yaml
permissions:
all: read
copilot-requests: write
```
- **Generated workflow refresh**
- Recompiled the corresponding `.lock.yml` files so generated workflows
match the new auth model.
- The generated workflows now use `github.token` for Copilot auth
instead of the old secret-validation flow.
- **Behavioral impact**
- Removes reliance on the previous Copilot token setup for these agentic
workflows.
- Aligns workflow auth with the current org-billed Copilot execution
path.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>1 parent c5d3e9f commit d5dd526
8 files changed
Lines changed: 1021 additions & 184 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
| |||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments