github / github/vscode-github-actions

Read-only editors for action.yml shows problems as if it were a workflow

Aperta
#618 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
660
Fork
213
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**

Some diffs (but not all!) show a load of false positive Problems for `action.yml` treating it as if it were a workflow YAML file.

Possibly this only affects read-only diffs.

**To Reproduce**
Steps to reproduce the behavior:
1. Open a read-only diff of an `action.yml` file

**Expected behavior**
`action.yml` should be correctly identified as an action not a workflow, in diff views

**Screenshots**

Top: an unaffected diff; bottom: an affected read-only diff

Image

**Extension Version**
`0.32.3`

**Additional context**
(Originally opened in https://github.com/microsoft/vscode-pull-request-github/issues/8873 but it affects diffs unrelated to PRs)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Reproduce the issue by opening a read-only diff for an action.yml file and observe the false-positive Problems. Start by tracing how the extension distinguishes action metadata from workflow YAML in diff views, then verify that the file is identified as an action and no workflow-specific Problems appear.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github-actions, typescript, vscode
Ambito
ci-cd, tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
63/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.