Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[workflow-editor] Trim duplicated guideline text in workshop-author.md

Đã đóng Phù hợp với người mới
#4,246 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ó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
65/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, javascript
Lĩnh vực
devops, documentation

Hướng nghiên cứu

Đọc .github/workflows/workshop-author.md cùng với .github/workflows/guidelines.md để xác minh các phần bị trùng lặp và chỉ dẫn hiện có về việc áp dụng các hướng dẫn dùng chung. Issue yêu cầu thay các danh sách bị trùng lặp bằng các tham chiếu; tạo lại .github/workflows/workshop-author.lock.yml bằng gh aw compile. Hoàn tất khi workflow tham chiếu đến các quy tắc dùng chung và tệp lock được tạo lại.

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/workshop-author.lock.yml, .github/workflows/workshop-author.md

What changed

.github/workflows/workshop-author.md restated two whole rule sections verbatim
from .github/workflows/guidelines.md — the "Codespaces-first environment"
bullet list and the alert-callout formatting rules — even though the workflow
already instructs the agent to "read .github/workflows/guidelines.md and
apply it while authoring" earlier in the same file.

Why

Keeping two copies of the same rules risks drift: if guidelines.md is
updated (e.g. the alert-level ceiling or gh delay rule changes), the
duplicated copy in workshop-author.md would silently go stale. The shared
guidelines file is the single source of truth for authoring workflows.

How

Replaced the duplicated bullet lists in workshop-author.md with short
pointers back to the relevant sections of guidelines.md, which the agent
already has loaded in context. No behavior change — the agent still applies
the exact same rules, just from one source instead of two.

Files changed

  • .github/workflows/workshop-author.md — trimmed duplicated sections
  • .github/workflows/workshop-author.lock.yml — regenerated via gh aw compile

This keeps the workflow source lean and Skills-like: direct instructions with
a single authoritative reference, rather than restating rules the agent
already read.

Generated by ✂️ Workflow Skills Editor · copilot · auto · 76.5 AIC · ⌖ 9.99 AIC · ⊞ 9.6K · ◷

  • expires on Oct 7, 2026, 7:44 AM UTC

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

Original error: The process '/usr/bin/git' failed with exit code 1

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 '37430925381' -n agent -D '/tmp/agent-37430925381'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-37430925381/aw-workflow-editor-trim-workshop-author-duplication.bundle'
temp_ref='refs/bundles/create-pr-workflow-editor-trim-workshop-author-duplication-c19269f4410b8410-02e699e1'
target_ref='refs/heads/workflow-editor/trim-workshop-author-duplication-c19269f4410b8410'
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-workshop-author-duplication-c19269f4410b8410'
# 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-workshop-author-duplication-c19269f4410b8410'

# Create the pull request
gh pr create --title '[workflow-editor] Trim duplicated guideline text in workshop-author.md' --base 'main' --head 'workflow-editor/trim-workshop-author-duplication-c19269f4410b8410' --repo 'githubnext/gh-aw-workshop'
Ngôn ngữ chính
JavaScript
Star
52
Fork
26
Merge trung bình
11 giờ 32 phút
Pull request đã merge (30 ngày)
22

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.