Unrecognized Github Actions Secret Context
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- github-actions, typescript, vscode
Direção de pesquisa
Comece reproduzindo o aviso com o YAML de jobs fornecido, um ambiente chamado TWITCH-DOWNLOADER e os dois secrets de ambiente referenciados no workflow. Rastreie como o GitHub Actions Extension valida os secrets e o contexto do ambiente; considera-se concluído quando os secrets de ambiente são reconhecidos sem um aviso missing-or-undefined.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Describe the bug
- I have a GitHub Actions workflow, VSCode recommended me the Extension.
- And i use the Environment Feature for GitHub Action Secrets.
- This is not recognized by the Extension,
- even that the Environment Secrets works when i let the Action run.
- Even more frustrating:
- there seems to be no option to ignore or comment out that warning that the secret isn't valid
- we need an option to ignore that if the Extension fails to read the environment context
To Reproduce
Steps to reproduce the behavior:
- The beginning of the Jobs YAML:
jobs:
test:
runs-on: ubuntu-latest
environment: TWITCH-DOWNLOADER
...
- The Step that Uses the Secrets:
- name: Schreibe Secrets in .env-Datei
run: |
echo "TWITCH_CLIENT_ID=${{ secrets.TWITCH_CLIENT_ID }}" >> .env
echo "TWITCH_CLIENT_SECRET=${{ secrets.TWITCH_CLIENT_SECRET }}" >> .env
The Repo itself private, but i guess the error is easy to reproducible with
- create a repo
- creating a environment with that name (in https://github.com/(user)/(repo)/settings/secrets/actions)
- creating 2 Secrets named like that in that environment
- creating a github action yaml file with just that step above
- Save
- The Yaml loaded into VSCode with the GitHub Actions Extension running
X the Secrets will be recognized as missing or not defined X
Expected behavior
To recognize the Environment and the Secrets in there
- Linguagem predominante
- TypeScript
- Estrelas
- 661
- Forks
- 214
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/vscode-github-actions
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
github/vscode-github-actions#627 · 1 reação ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
github/vscode-github-actions#630 ·
-
long work Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
github/vscode-github-actions#628 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
github/vscode-github-actions#625 ·
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 64/100
github/vscode-github-actions#621 · 3 comentários ·
Todas as issues de github/vscode-github-actions
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
mksglu/context-mode#1200 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
anthropics/claude-code#96687 ·
-
good first issue
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 95/100
AOSSIE-Org/DebateAI#582 · 2 comentários ·