Skip to content

Voxelite plugin.json validator

Actions
Validate your plugin.json file
v1
Latest
Star (0)

Tags

 (1)

Voxelite plugin.json Validator

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

Inputs

file

Required

Path to your plugin.json. Default "plugin.json" in current directory.

official

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.

Outputs

codename

Parsed codename from the plugin.

version

Parsed version from the plugin.

alias

Comma-separated list of codenames.

depends

Plugins this one directly depends on.

other_plugins

Other plugins mentioned in plugin relations like depends or recommends.

Example usage

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

Voxelite plugin.json validator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Validate your plugin.json file
v1
Latest

Tags

 (1)

Voxelite plugin.json validator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.