github / github/vscode-github-actions

Copy/Pasting YAML results in wrong indentation

Đang mở
#226 10 bình luận 6 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Describe the bug**

Copy Pasting yaml when file is identified as GitHub workflow is messed up.

**To Reproduce**

https://github.com/github/vscode-github-actions/assets/153052/3e056158-fbe9-44f0-b987-6b3fc96c8f48

**Expected behavior**
N/A

**Screenshots**
N/A

**Extension Version**
`v0.25.8`

**Additional context**
Add any other context about the problem here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reproducing the copy/paste case from the linked video in the GitHub Actions VS Code extension version v0.25.8 with a YAML workflow. Trace how pasted workflow content is handled; done means copied YAML retains correct indentation and the behavior has a regression check.

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

Đánh giá

Công nghệ
github-actions, typescript, vscode, yaml
Lĩnh vực
ci-cd, tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.