github / github/vscode-github-actions

"Context access might be invalid: workspace"

未關閉
#314 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
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**

![kép](https://github.com/github/vscode-github-actions/assets/9763499/aa36fa1b-ebc9-4b7d-95e7-880d4a10c663)

**Extension Version**

`v0.26.2`

**Additional context**

None.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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