Reusable workflows can be referenced locally
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- github-actions, typescript, vscode
Research direction
Start with the provided workflow reproducer and trace the VS Code extension's validation of the uses value. Confirm that a local .github/workflows/reusable-build.yml reference is accepted without an @{ref} suffix, and check the ctrl+click URL behavior for the reported tree/undefined case. Done means the error is removed for valid local references and navigation no longer produces that URL.
Written by the indexing model from the issue text.
Description
Describe the bug
According to the blog post, Reusable workflows can be referenced locally, however VS Code extension does not support it yet, and instead complains about the lack of @{ref} part.
To Reproduce
Steps to reproduce the behavior:
- With this simple workflow:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: '.github/workflows/reusable-build.yml'
- See error
It doesn't matter whether the reusable file reusable-build.yml actually exists.
Expected behavior
@{ref} part should be optional.
Screenshots
Extension Version
v0.31.0
Additional context
Bonus bug: tree/undefined in the ctrl+click URL leads to a Not Found page.
- Dominant language
- TypeScript
- Stars
- 661
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/vscode-github-actions
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
github/vscode-github-actions#627 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
github/vscode-github-actions#630 · 1 reaction ·
-
long work Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
github/vscode-github-actions#628 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
github/vscode-github-actions#625 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 64/100
github/vscode-github-actions#621 · 3 comments ·
All issues in github/vscode-github-actions
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bcgov/bc-wallet-mobile#4761 · 1 comment ·
-
external-issue to-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
refactor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100