github / github/vscode-github-actions

"Context access might be invalid: workspace"

Đang mở
#314 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.