Skip to content

GitHub Actions extension applies wrong schema to .github/dependabot.yml #610

Description

@burebesta

Describe the bug

The extension incorrectly applies the GitHub Actions workflow schema to .github/dependabot.yml, causing false validation errors.

To Reproduce

Create .github/dependabot.yml with valid dependabot config:

version: 2
updates:
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"

Open the file in VSCode. The extension immediately shows:
- Required property missing: on
- Required property missing: jobs

Expected behavior

No validation errors. This is a valid dependabot configuration file — on and jobs are workflow-specific fields and are not required here.
extension version  0.32.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog 🗒

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions