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.
- 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.