github / github/vscode-github-actions
"Context access might be invalid: workspace"
- 主要言語
- TypeScript
- スター
- 660
- フォーク
- 213
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
If a workflow YAML has `${{runner.workspace}}` value for the key [`jobs..steps[*].working-directory`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsworking-directory) it triggers the warning in the issue description.
**To Reproduce**
```yml
- name: Test
working-directory: ${{runner.workspace}}/OpenCL-Headers/build
```
**Expected behavior**
No warning.
**Screenshots**

**Extension Version**
`v0.26.2`
**Additional context**
None.
コントリビューションガイド
調査の方向性
Start by reproducing the warning with the provided workflow YAML and trace the validation for jobs..steps[*].working-directory when it contains runner.workspace. Compare that behavior with the documented working-directory syntax; done means the example produces no warning without weakening validation for other invalid contexts.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github-actions, typescript, vscode
- 領域
- ci-cd, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 42/100