github/vscode-github-actions

Actions in different directory than .github\workflows

Aberta

#325 aberto em 25 de abr. de 2024

 (8 comentários) (8 reações) (0 responsável)TypeScript (204 forks)auto 404
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (656 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Discussed in https://github.com/github/vscode-github-actions/discussions/207

Originally posted by MariuszMielcarski June 1, 2023 Hi I have noticed that the plugin successfully found my workflows in .github\workflows directory - and that works great. But I have some reusable actions defined in other directory, and it was not identified as GitHub actions by the plugin. Can configure the plugin somehow to add additional directories to track? To have IntelliSense work for my custom actions too.

Wanted to make this an issue as it would also really help out for people like me that run a simple self-hosted Gitea instance, since these workflows are stored in .gitea/workflows. If only there is some setting for the extension that holds an array of workflow paths would be really awesome! Default value would then of course be [".github/workflows"] :)

Guia do colaborador