GitHub Action to validate Voxelite's plugin.json
(main information about the plugin).
Checks:
- Presence of all required fields
- Valid characters (especially for plugin's codename)
- Voxelite impersonation prevention
Required
Path to your plugin.json
.
Default "plugin.json"
in current directory.
Set to true
for official Voxelite plugins.
Causes the validator to not check against official names.
Do not use this unless you are an official plugin. It does not give you any advantage, just ignores checks for official-sounding names.
Parsed codename from the plugin.
Parsed version from the plugin.
Comma-separated list of codenames.
Plugins this one directly depends on.
Other plugins mentioned in plugin relations like depends
or recommends
.
- name: plugin.json validation
uses: voxelite/plugin-json-validator@v1
- name: plugin.json validation
uses: voxelite/plugin-json-validator@v1
with:
file: path/to/plugin.json
For plugin.json
format look into official documentation, some examples can be found in test directory.