github / github/vscode-github-actions

Is there a way to disable a specific error message?

未關閉
#481 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
660
分支
213
PR 合併指標
30 天內沒有已合併 PR

描述

I use Gitea Actions (not GitHub), and I want to be able to:

1) use `runs-on`

2) add a `container` with a `volumes` node, but without specifying `image`, because the label in `runs-on` already maps to the container image I want

However, the extension complains that:

> Container image cannot be empty

But the action runs perfectly in Gitea, and with the image I want.

So, I'd like to disable this error from being shown in VSCode.

Is that possible? :)

Many thanks!

貢獻指南

開啟貢獻指南

研究方向

The issue names no files or tests; start at the VS Code extension's diagnostic and configuration entry points, then reproduce the warning with a workflow using runs-on and container.volumes without image. Done means users can suppress this specific empty-container-image diagnostic without hiding unrelated errors.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, typescript, vscode
領域
developer-experience, tooling
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。