`keywords` is not included in devContainerFeature.schema.json
The documentation for Features on containers.dev lists keywords as a possible value for the devcontainer-feature.json file. That entry is not included in the schema file though. Is this an error with the documentation and keywords are not actually meant to be included (anymore?), or is this something that's missing from the schema?
Thanks for opening this! @joshspicer I think this is just missing from the schema, but please let me know otherwise!
We just got bitten by this issue for the second time in a few months 😢 I ran into it a while ago, then forgot about it or thought it was resolved after ~1 year.
Today we attempted to categorise our private features (100+).
The keywords property is part of the official documentation.
We discussed categories, then added keywords to all our devcontainer-feature.json files.
Now we can't publish our features using the official GitHub Action any more.
The schema validation step fails (enabled by default).
We're now forced to manually revert a large number of (partial) commits.
The workaround - disabling schema validation for the action - is not an option for us.
For anyone facing the same issue, you can disable schema validation in the workflow file:
jobs:
publish:
# [..]
- name: "Publish Features"
uses: devcontainers/action@v1
with:
disable-schema-validation: "true"
# [..]
I opened PR #402 to address this issue. It adds the missing keywords property to the feature schema.
@bamurtaugh @joshspicer - Feel to review it and have a lovely day 👋
With the new release of @devcontainers/action v1.4.1, this should be fixed, thanks! ✨
@nifr Feel free to reopen if you are still running into this issue!
HBI iam ikboll gazi member ikboll Gazi [email protected] 91 9775728082 thanks you so much 💗 💓 💖 ❤️ 💕 😊
HB thanks you so much 💗 💓 💖 ❤️ 💕 💛
File change