vscode-github-actions icon indicating copy to clipboard operation
vscode-github-actions copied to clipboard

Indent added if `---` is at top of yaml file (v0.26.1)

Open rasa opened this issue 2 years ago • 0 comments

To Reproduce

With only the GitHub Actions extension enabled, If I paste in the following .yaml file:

---
name: Example
# rest of file

the editor immediately reformats the pasted text as

---
  name: Example
  # rest of file

When the extension is disabled, the pasted test is not indented after the --- line.

If

name: Example
# rest of file

is pasted, no extra indent is added.

Expected behavior

Pasted text is not indented

Extension Version v0.26.1

rasa avatar Aug 16 '23 15:08 rasa