Skip to content

Conversation

@gadicc
Copy link

@gadicc gadicc commented Sep 1, 2025

Resolves #1170.

  • In extension.ts, adds { language: "github-actions-workflow } for the following schema: "file", "untitled", "deno". In each cases, added directly below the related entry for language: "yaml".

  • In package.json, adds to the activationEvents array, "onLanguage:github-actions-workflow". THE SAME WAS ALSO ADDED FOR "onLanguage:yaml" which I assume was left out unintentionally.

Based on the same changes for vscode-yaml at redhat-developer/vscode-yaml#1105.

Motivation: deno fmt already checks all yaml files (including github actions files) by default. If editing a deno project in vscode, we should be able to edit github actions files in vscode without them failing deno fmt --check in CI.

* In `extension.ts`, adds { language: "github-actions-workflow } for
  the following schemas: "file", "untitled", "deno".  In each cases,
  added directly below the related entry for language: "yaml".

* In `package.json`, adds to the `activationEvents` array,
  "onLanguage:github-actions-workflow".  THE SAME WAS ALSO ADDED
  FOR "onLanguage:yaml" which I assume was unintentional.
@CLAassistant
Copy link

CLAassistant commented Sep 1, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support formatting github-actions-workflow language (yaml)

2 participants