Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

feat: github actions extension linter-ignore file and ignore settings

未关闭
#414 2 条评论 14 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
github-actions, typescript, vscode
领域
ci-cd, devtools

调研方向

未指定源文件或测试。首先追踪 GitHub Actions VS Code extension 的 linter 如何报告错误,以及如何处理 workspace、目录或用户设置。完成的标准是:用户可以通过有文档说明的机制抑制选定的 linter 错误,并且为所选的 ignore 行为提供覆盖。

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

描述

enhancement

Is your feature request related to a problem? Please describe.

In certain GitHub actions, deprecated fields or configurations that are caught by the GitHub actions VSCode extension's linter do still work or exist in certain versions of a GitHub action.

For example, in the screenshot below, the command: manifest configuration in Google's release-please GitHub action does still function, but GitHub actions VSCode extension still considers this an error.

Screenshot 2024-11-04 104641

Describe the solution you'd like

I want to be able to add a new comment OR surrounding comments OR a VSCode extension settings file (local to workspace, directory, or user) that will suppress the GitHub actions VSCode extension's linter from highlighting an error.

E.g., adding // gh-actions-ignore to a line suppresses the linter, OR adding a .githubactionsignore file will allow certain files to go unread by the extension (similar to .gitignore), OR a general regex filter in the extensions' VSCode settings

Additional context

N/A

主要语言
TypeScript
星标
661
派生
214
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/vscode-github-actions 的其他 Issue

查看 github/vscode-github-actions 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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