[workshop-sync] workshop/side-quest-13-04-token-optimization.md: broken doc anchors for guardrails and workflow_dispatch

Đang mở Phù hợp với người mới
#5,965 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
Dưới một giờ
Mức phù hợp với người mới
88/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ệ
markdown
Lĩnh vực
documentation

Hướng nghiên cứu

Mở workshop/side-quest-13-04-token-optimization.md và tìm ba liên kết sâu được liệt kê trong issue. Trỏ lại hai liên kết guardrail AI credits tới https://github.github.com/gh-aw/reference/frontmatter/ với các neo #ai-credits-guardrail-max-ai-credits và #daily-per-workflow-ai-credits-guardrail-max-daily-ai-credits, và đổi neo dispatch thành #dispatch-triggers-workflow_dispatch (dấu gạch dưới). Hoàn thành khi mỗi liên kết, khi mở trên trình duyệt, dẫn tới một tiêu đề có thật; không có tệp nào khác trong phạm vi vì lỗi gõ dispatch trong side-quest-15-02-chaining-conditions.md có issue riêng.

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

Mô tả

documentation

Workshop file reviewed

workshop/side-quest-13-04-token-optimization.md (gh-aw release v1.2.2)

Problem

Several deep links point at anchors that do not exist on the live docs:

  • https://github.github.com/gh-aw/reference/triggers/#ai-credits-guardrail-max-ai-credits (the max-ai-credits link)
  • https://github.github.com/gh-aw/reference/triggers/#daily-per-workflow-ai-credits-guardrail-max-daily-ai-credits (the max-daily-ai-credits link)
  • https://github.github.com/gh-aw/reference/triggers/#dispatch-triggers-workflowdispatch

Current correct targets

Checked against the published pages:

  • Both AI-credits guardrail anchors exist on https://github.github.com/gh-aw/reference/frontmatter/, not on triggers: #ai-credits-guardrail-max-ai-credits and #daily-per-workflow-ai-credits-guardrail-max-daily-ai-credits. reference/cost-management/ also has #cap-ai-credits-per-run and #cap-daily-ai-credits-per-workflow.
  • The workflow_dispatch anchor on the triggers page is #dispatch-triggers-workflow_dispatch (with the underscore).

Suggested fix

Repoint the two guardrail links to reference/frontmatter/ (or the cost-management anchors above) and fix the dispatch anchor to #dispatch-triggers-workflow_dispatch. The same dispatch anchor typo also appears in side-quest-15-02-chaining-conditions.md, which has its own issue.

Generated by 🔍 Workshop Sync Check · copilot · auto · ~27 AIC · ⌖ ~1 AIC · ⊞ 4.7K · ◷

  • expires on Nov 22, 2026, 2:03 AM UTC
Ngôn ngữ chính
JavaScript
Star
61
Fork
43
Merge trung bình
10 giờ 38 phút
Pull request đã merge (30 ngày)
12

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.