Skip to content

fix: remove invalid 'license' field from devcontainer-feature.json#4

Merged
PKramek merged 1 commit intomainfrom
fix/feature-json-schema-compliance
Apr 7, 2026
Merged

fix: remove invalid 'license' field from devcontainer-feature.json#4
PKramek merged 1 commit intomainfrom
fix/feature-json-schema-compliance

Conversation

@PKramek
Copy link
Copy Markdown
Owner

@PKramek PKramek commented Apr 7, 2026

Summary

  • Removes the license field which is not permitted by the DevContainer Feature JSON schema (additionalProperties: false)
  • Retains licenseURL which is a valid schema property
  • Fixes the devcontainers/action publish step that was failing with: additionalProperty: 'license' must NOT have additional properties

Test plan

  • Release workflow publish step passes schema validation
  • licenseURL remains in the published feature metadata

The DevContainer Feature schema does not allow a 'license' property
(additionalProperties: false). This caused the devcontainers/action
publish step to fail validation. The 'licenseURL' field is valid and
is retained.
@PKramek PKramek self-assigned this Apr 7, 2026
@PKramek PKramek added the enhancement New feature or request label Apr 7, 2026
@PKramek PKramek merged commit f95df18 into main Apr 7, 2026
31 checks passed
@PKramek PKramek deleted the fix/feature-json-schema-compliance branch April 7, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant