github / github/vscode-github-actions

Actions in different directory than .github\workflows

Đang mở
#325 8 bình luận 8 reaction 0 người được giao Xem trên GitHub
enhancement good first issue help wanted
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ả

### Discussed in https://github.com/github/vscode-github-actions/discussions/207

Originally posted by **MariuszMielcarski** June 1, 2023
Hi
I have noticed that the plugin successfully found my workflows in .github\workflows directory - and that works great.
But I have some reusable actions defined in other directory, and it was not identified as GitHub actions by the plugin.
Can configure the plugin somehow to add additional directories to track? To have IntelliSense work for my custom actions too.

Wanted to make this an issue as it would also really help out for people like me that run a simple self-hosted Gitea instance, since these workflows are stored in `.gitea/workflows`. If only there is some setting for the extension that holds an array of workflow paths would be really awesome! Default value would then of course be `[".github/workflows"]` :)

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

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

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi cách extension phát hiện workflows và các action có thể tái sử dụng, sau đó kiểm tra cách các cài đặt của extension được định nghĩa và sử dụng. Thêm hỗ trợ cho các thư mục workflow có thể cấu hình, với .github/workflows làm mặc định, và xác minh rằng các workflow và custom action trong các thư mục đã cấu hình nhận được IntelliSense.

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
Lĩnh vực
ci-cd, devtools
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.