Uh oh!
There was an error while loading. Please reload this page.
Improve compile command help text to clarify input/output formats - #19988
Conversation
… formats (#issue) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates gh aw compile’s CLI help text to make the command’s input (.md) and output (.lock.yml) formats explicit, reducing confusion about what compilation produces.
Changes:
- Refined the
compilecommandShortdescription to mention.md→.lock.ymldirectly.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| var compileCmd = &cobra.Command{ | ||
| Use: "compile [workflow]...", | ||
| Short: "Compile agentic workflows from Markdown to GitHub Actions YAML", | ||
| Short: "Compile workflow markdown files (.md) into GitHub Actions workflows (.lock.yml)", |
There was a problem hiding this comment.
The Short help text uses "markdown" lowercase, while the rest of this command’s help and examples consistently refer to the format as "Markdown" (e.g., "Compile all Markdown files" a few lines below). For consistency in CLI help output, consider capitalizing it here as well.
| Short: "Compile workflow markdown files (.md) into GitHub Actions workflows (.lock.yml)", | |
| Short: "Compile workflow Markdown files (.md) into GitHub Actions workflows (.lock.yml)", |
Users—especially new ones—couldn't tell from
gh aw compile's short description what the command produces or why it's needed, leading to confusion when edited workflows didn't take effect.Change
Updated the
Shortdescription of thecompilecommand incmd/gh-aw/main.go:The new text makes the input (
.md) and output (.lock.yml) explicit directly in the help listing, without exceeding the 80-character limit.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/actions/github-script/git/ref/tags/v8/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha json' --ignore-path ../../../.pr**/*.json(http block)/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha ACCEPT(http block)If you need me to access, download, or install something from one of these locations, you can either:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.