Skip to content

Commit 9131685

Browse files
Migrate copilot-requests feature flag to permission and recompile
The `features.copilot-requests: true` flag is a deprecated shorthand that is inert unless migrated. Run `gh aw fix --write` to rewrite it to `permissions.copilot-requests: write` in all 11 workflow sources, then recompile so the lock files inject the GitHub Actions token auth and `S2STOKENS: true` that actually enable org billing at runtime. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 004ba78d-3cf4-41ab-8647-180e683460f0
1 parent f881da8 commit 9131685

22 files changed

Lines changed: 266 additions & 339 deletions

.github/workflows/cross-repo-issue-analysis.lock.yml

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

.github/workflows/cross-repo-issue-analysis.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
features:
3-
copilot-requests: true
42
description: Analyzes copilot-sdk issues to determine if a fix is needed in copilot-agent-runtime, then opens a linked issue there
53
on:
64
issues:
@@ -16,6 +14,7 @@ permissions:
1614
contents: read
1715
issues: read
1816
pull-requests: read
17+
copilot-requests: write
1918
steps:
2019
- name: Clone copilot-agent-runtime
2120
env:
@@ -114,4 +113,4 @@ Classify the issue into one of these categories:
114113
2. **Err on the side of creating the runtime issue**: If there's a reasonable chance the fix is in the runtime, create the issue. False positives are better than missed upstream bugs.
115114
3. **Link everything**: Always cross-reference between the SDK issue and runtime issue so maintainers can follow the trail
116115
4. **Be specific**: When describing the root cause, point to specific files, functions, and line numbers in both repos
117-
5. **Don't duplicate**: Before creating a runtime issue, search existing open issues in `github/copilot-agent-runtime` to avoid duplicates. If a related issue exists, reference it instead of creating a new one.
116+
5. **Don't duplicate**: Before creating a runtime issue, search existing open issues in `github/copilot-agent-runtime` to avoid duplicates. If a related issue exists, reference it instead of creating a new one.

0 commit comments

Comments
 (0)