Skip to content

Comments

docs: fix COPILOT_GITHUB_TOKEN setup command in gh-agent install guide#305

Merged
strawgate merged 3 commits intomainfrom
main-56fbd098a6a52bd4
Feb 21, 2026
Merged

docs: fix COPILOT_GITHUB_TOKEN setup command in gh-agent install guide#305
strawgate merged 3 commits intomainfrom
main-56fbd098a6a52bd4

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 21, 2026

Summary

  • replaced the invalid gh aw secrets set command in docs/workflows/gh-agent-workflows.md
  • updated the secret setup step to use the supported GitHub CLI command:
    • printf '%s' "(pat)" | gh secret set COPILOT_GITHUB_TOKEN --repo OWNER/REPO
  • kept this aligned with scripts/quick-setup.sh, which already uses gh secret set

Validation


What is this? | From workflow: Mention in Issue

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #303

Summary by CodeRabbit

  • Documentation
    • Updated Secrets workflow example with improved command syntax, demonstrating standard input handling and explicit repository targeting for clearer, more secure secret management practices.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 21, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Walkthrough

The Secrets example in the GitHub Agent Workflows documentation was updated to replace the invalid gh aw secrets set command with a valid gh secret set command that pipes the token through stdin and explicitly specifies the repository target.

Changes

Cohort / File(s) Summary
Documentation Update
docs/workflows/gh-agent-workflows.md
Corrected invalid secret setup command from gh aw secrets set to gh secret set with stdin piping and explicit --repo flag, aligning with "No gh-aw CLI required" statement.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A docs fix hops along the way,
Where secrets now flow through stdin's array,
No phantom aw to cause dismay,
Just gh secret set to save the day! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: fixing the COPILOT_GITHUB_TOKEN setup command in the gh-agent install guide documentation.
Linked Issues check ✅ Passed The pull request successfully addresses all objectives from issue #303: replacing the invalid gh aw secrets set command with the valid printf | gh secret set pattern and ensuring documentation consistency.
Out of Scope Changes check ✅ Passed The change is narrowly scoped to fixing the specific command in docs/workflows/gh-agent-workflows.md as required by issue #303, with no extraneous modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch main-56fbd098a6a52bd4

Comment @coderabbitai help to get the list of available commands and usage tips.

@strawgate strawgate marked this pull request as ready for review February 21, 2026 04:37
Copy link
Contributor Author

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: no actionable issues found in this docs-only change.


What is this? | From workflow: PR Review

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #305

@strawgate strawgate merged commit 08bca71 into main Feb 21, 2026
7 checks passed
@strawgate strawgate deleted the main-56fbd098a6a52bd4 branch February 21, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs-new-contributor] New contributor docs review — invalid secret setup command in install guide

1 participant