[dedup] side-quest-06-03b-copilot-github-token.md + side-quest-06-03c-copilot-github-token-ui-only.md: duplicate "Sub-exercise A: Genera

Đang mở Phù hợp với người mới
#6,240 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
66/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
Lĩnh vực
documentation

Hướng nghiên cứu

Đọc cả hai tệp. Giữ nguyên các bước tạo token đầy đủ trong workshop/side-quest-06-03b-copilot-github-token.md và thay phần sao chép trong workshop/side-quest-06-03c-copilot-github-token-ui-only.md bằng một liên kết ngắn quay lại 03b. Giữ lời nhắc xoay vòng token trên terminal của 03b và dòng Verify của 03c. Hoàn thành khi các bước PAT chỉ xuất hiện một lần, cả hai tệp vẫn đọc mạch lạc và các liên kết hoạt động. Nội dung trùng lặp nằm dưới tiêu đề Sub-exercise A và trong các mục Before You Start giống nhau.

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

Mô tả

dedup documentation

Duplicated sections

  • workshop/side-quest-06-03b-copilot-github-token.md — Side Quest: Method 2 — COPILOT_GITHUB_TOKEN Secret › Sub-exercise A: Generate the token manually
  • workshop/side-quest-06-03c-copilot-github-token-ui-only.md — Side Quest: Method 2 (UI-only) — COPILOT_GITHUB_TOKEN Secret › Sub-exercise A: Generate the token

Also, the Before You Start sections in both files are identical (sim=1.0):

You have a GitHub account with an active Copilot subscription. You have read Side Quest: Configure GitHub Copilot Authentication and chosen Method 2.

Overlap excerpt

Go to github.com/settings/tokens and click Generate new token (fine-grained). Name the token (for example, gh-aw-copilot) and set an expiry (90 days is a common default)... Under Permissions → Account permissions, set Copilot requests to Read-only. Click Generate token and copy the value immediately — GitHub shows it only once.
[!IMPORTANT] Copy the token before you navigate away or close the tab...

Recommended consolidation

  • Canonical home: side-quest-06-03b-copilot-github-token.md for the token-generation steps (PAT creation is identical in both paths).
  • Keep in 03c only what is UI-only specific (no terminal rotation-reminder printf; keep its Verify/Quick check wording).
  • Replace the duplicated PAT-creation text in 03c with a short cross-reference link to the 03b section, then continue with the UI-only secret-adding steps.
  • Reduce the identical Before You Start text to a single sentence in 03c that links to 03b, or leave as-is if learners are expected to land directly on either page (minor).
  • Value lost by merging: minor — 03b has a terminal rotation reminder, 03c has a Verify line and "Repository access" phrasing; preserve both in their own files.

This issue is ready for an automated agent to resolve.

Generated by 🧹 Markdown Dedup · copilot · auto · ~18 AIC · ⌖ ~1 AIC · ⊞ 4.5K · ◷

  • expires on Nov 29, 2026, 5:28 AM UTC
Ngôn ngữ chính
JavaScript
Star
61
Fork
45
Merge trung bình
11 giờ 50 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.