github / github/vscode-github-actions
Reusable workflows can be referenced locally
- Linguagem predominante
- TypeScript
- Estrelas
- 660
- Forks
- 213
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Describe the bug**
According to the blog post, [Reusable workflows can be referenced locally](https://github.blog/changelog/2022-01-25-github-actions-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:
```yml
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: '.github/workflows/reusable-build.yml'
```
3. 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.
Guia de contribuição
Direção de pesquisa
Comece com o reproducer de workflow fornecido e rastreie a validação do valor `uses` pela extensão do VS Code. Confirme que uma referência local a `.github/workflows/reusable-build.yml` é aceita sem um sufixo `@{ref}` e verifique o comportamento da URL ao usar ctrl+click para o caso relatado `tree/undefined`. Considera-se concluído quando o erro for removido para referências locais válidas e a navegação não produzir mais essa URL.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- github-actions, typescript, vscode
- Domínio
- ci-cd, devtools
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 48/100