From 8ea472db8d2d8dfcc376a123241e833819b7ccda Mon Sep 17 00:00:00 2001 From: tanzhenxin Date: Fri, 3 Apr 2026 16:20:50 +0800 Subject: [PATCH] chore(qc): add GH_TOKEN instruction to create-pr skill - Update create-pr.md to explicitly use GH_TOKEN when provided - Ensures PR creation works with user-provided tokens via environment variable Co-authored-by: Qwen-Coder --- .qwen/commands/qc/create-pr.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.qwen/commands/qc/create-pr.md b/.qwen/commands/qc/create-pr.md index 8438f5405..a2dc7fd05 100644 --- a/.qwen/commands/qc/create-pr.md +++ b/.qwen/commands/qc/create-pr.md @@ -31,6 +31,11 @@ Create a well-structured pull request with proper description and title. 4. **Set up PR** - Create PR title and body - Submit PR with gh command + - **If a GitHub token is provided in the user's message**, use it by setting the `GH_TOKEN` environment variable: + ```bash + GH_TOKEN= gh pr create --title "..." --body "..." + ``` + - If no token is provided, use the default `gh` authentication ## PR Template