github / github/vscode-github-actions

Syntax highlighting for repos that put composite workflows in directories other than `.github`

未关闭
#75 6 条评论 12 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
660
派生
213
PR 合并指标
30 天内没有已合并 PR

描述

**Is your feature request related to a problem? Please describe.**
It's often nice to put shared workflows in directories that make sense for consumers, like `my-private-org/composite/some-team-name/their-reusable-workflow.yml`. The extension works fine for _resolving_ these workflows when they're used, but it doesn't syntax highlight or do anything when _authoring_ these workflows. It seems to pay attention to `.github/**/*.yml` exclusively.

**Describe the solution you'd like**
Configurable paths and options for which files should be parsed.

**Additional context**
Add any other context or screenshots about the feature request here.

贡献指南

打开贡献指南

调研方向

首先追踪扩展在编写工作流时仅解析 `.github/**/*.yml` 的逻辑,并确定负责语法高亮和文件发现的入口点。定义应如何提供可配置路径和解析选项,然后验证位于 `composite/some-team-name/` 等目录中的工作流也能获得相同的编写支持。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, typescript, vscode
领域
developer-experience, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。