[workflow-editor] Trim duplicated guidance in training-plan-research

已关闭
#5,498 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions
领域
devtools

调研方向

Read .github/workflows/training-plan-research.md and its generated .lock.yml to see the duplicated guidance and the stated compile validation. The body describes removing two XML comment blocks and tightening two passages; completion means the prompt is shorter while behavior, triggers, permissions, and safe outputs stay unchanged. The described workflow run encountered a push permission error for the protected lock file, so this work appears already underway.

由索引模型根据 Issue 内容生成。

描述

agentic-workflows documentation workflow-editor

[!CAUTION]
Protected files were modified in this change.
This pull request is in request-review mode and requires explicit human scrutiny before merge.

Protected files: .github/workflows/training-plan-research.lock.yml, .github/workflows/training-plan-research.md

Removed bloat: Two XML comment blocks (research-intent, quality-bar) that restated the goals and requirements already given in the prompt body. Also tightened the opening mission sentence and one "Required inputs" item.

Files changed: .github/workflows/training-plan-research.md and the regenerated .lock.yml, compiled with gh aw compile --validate.

Why it's better: The brief is shorter and says each thing once, which is closer to a GitHub Skills lesson. Behavior, triggers, permissions and safe outputs are unchanged.


[!NOTE]
This was originally intended as a pull request, but the git push operation failed.

Original error: ERR_SYSTEM: git push failed (exit code 1): To https://github.com/githubnext/gh-aw-workshop.git ! [remote rejected] workflow-editor/trim-training-plan-d6becb3d54014c9e -> workflow-editor/trim-training-plan-d6becb3d54014c9e (refusing to allow a GitHub App to create or update workflow .github/workflows/training-plan-research.lock.yml without workflows permission) error: failed to push some refs to 'https://github.com/githubnext/gh-aw-workshop.git'

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

Create the pull request manually
# Download the artifact from the workflow run
gh run download '42525024434' -n agent -D '/tmp/agent-42525024434'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-42525024434/aw-githubnext-gh-aw-workshop-workflow-editor-trim-training-plan.bundle'
temp_ref='refs/bundles/create-pr-workflow-editor-trim-training-plan-d6becb3d54014c9e-b873572c'
target_ref='refs/heads/workflow-editor/trim-training-plan-d6becb3d54014c9e'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
  bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
  echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
  exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'workflow-editor/trim-training-plan-d6becb3d54014c9e'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"

# Push the branch to the target remote
git push 'origin' 'workflow-editor/trim-training-plan-d6becb3d54014c9e'

# Create the pull request
gh pr create --title '[workflow-editor] Trim duplicated guidance in training-plan-research' --base 'main' --head 'workflow-editor/trim-training-plan-d6becb3d54014c9e' --repo 'githubnext/gh-aw-workshop'

Generated by ✂️ Workflow Skills Editor · copilot · auto · ~21 AIC · ⌖ ~1 AIC · ⊞ 5.9K · ◷

  • expires on Nov 9, 2026, 9:28 PM UTC
主要语言
JavaScript
星标
58
派生
40
平均合并
1 天 22 小时
30 天内合并 PR
7

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。