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

Đã đóng
#5,498 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
JavaScript
Star
58
Fork
40
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/gh-aw-workshop

Tất cả issue của githubnext/gh-aw-workshop

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.