Skip to content

Reusable workflows can be referenced locally #564

@ratijas

Description

@ratijas

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:

  1. With this simple workflow:
jobs:
  build:
    name: Build
    runs-on: ubuntu-latest

    steps:
    - uses: '.github/workflows/reusable-build.yml'
  1. See error

It doesn't matter whether the reusable file reusable-build.yml actually exists.

Expected behavior

@{ref} part should be optional.

Screenshots

Image

Extension Version

v0.31.0

Additional context

Bonus bug: tree/undefined in the ctrl+click URL leads to a Not Found page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog 🗒

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions