Skip to content

feat: support github-actions-workflow language#1329

Open
gadicc wants to merge 1 commit into
denoland:mainfrom
gadicc:main
Open

feat: support github-actions-workflow language#1329
gadicc wants to merge 1 commit into
denoland:mainfrom
gadicc:main

Conversation

@gadicc

@gadicc gadicc commented Sep 1, 2025

Copy link
Copy Markdown

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

CLAassistant commented Sep 1, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jlsnow301

Copy link
Copy Markdown

Bump? related denoland/deno#33647

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)

3 participants