Improve gh-aw agent support and fix PR docs check#16019
Merged
IEvangelist merged 2 commits intomicrosoft:mainfrom Apr 14, 2026
Merged
Improve gh-aw agent support and fix PR docs check#16019IEvangelist merged 2 commits intomicrosoft:mainfrom
IEvangelist merged 2 commits intomicrosoft:mainfrom
Conversation
Opt out of add-comment discussion support so gh-aw stops generating invalid discussion permissions, and disable stale checking so the lock file can retain the required aspire.dev safe-output checkout path overrides. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16019Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16019" |
Install the gh-aw CLI extension in copilot-setup-steps, add the agentic-workflows dispatcher agent, and simplify the local MCP config to the supported servers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the pr-docs-check agentic workflow configuration to avoid requesting invalid GitHub App permissions (tracked in github/gh-aw#25467) and to preserve required cross-repo safe-output checkout overrides in the compiled lock workflow.
Changes:
- Disables discussion support for
safe-outputs.add-commentto preventdiscussionspermission requests. - Disables
stale-checkto allow intentional lock-file overrides to persist. - Regenerates
pr-docs-check.lock.ymlto reflect the updated safe-outputs configuration and permissions.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/pr-docs-check.md | Updates workflow source to disable stale-check and opt out of discussions for add-comment. |
| .github/workflows/pr-docs-check.lock.yml | Regenerated compiled workflow reflecting new safe-outputs settings and updated permissions. |
davidfowl
approved these changes
Apr 14, 2026
radical
pushed a commit
that referenced
this pull request
Apr 14, 2026
* Fix PR docs check safe-output permissions Opt out of add-comment discussion support so gh-aw stops generating invalid discussion permissions, and disable stale checking so the lock file can retain the required aspire.dev safe-output checkout path overrides. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add gh-aw agent support files Install the gh-aw CLI extension in copilot-setup-steps, add the agentic-workflows dispatcher agent, and simplify the local MCP config to the supported servers. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
pr-docs-checkto setsafe-outputs.add-comment.discussions: false, which prevents gh-aw from requesting the invalid discussion permissions tracked bygithub/gh-aw#25467.on.stale-check: falseso the compiled lock file can intentionally retain the requiredaspire.devsafe-output checkout overrides..github/workflows/pr-docs-check.lock.ymland preserves the requiredpath: aspire.devandworking-directory: aspire.devsettings for the cross-repo PR flow.gh awCLI extension in.github/workflows/copilot-setup-steps.ymlso Copilot cloud runs can use the gh-aw tooling..github/agents/agentic-workflows.agent.mdas a dispatcher agent for gh-aw create/update/debug/upgrade/report workflows..vscode/mcp.jsonto the supported MCP servers used in this repo.gh aw compile pr-docs-checkFixes #15927
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: