Self-hosted overlay

Last updatedView as Markdown

--channel=self-hosted changes Plugin Check so a self-updater is allowed, and the scaffold command writes Update URI into the plugin header. The overlay is not part of this plugin's runtime.

What the overlay adds

The overlay is one workflow file:

overlays/self-hosted/ File tree
  • .github/workflows/
    • plugin-check.yml
Replaces the root Plugin Check workflow in a generated plugin.

The root workflow and the overlay workflow are the same except the overlay passes exclude_checks: plugin_updater into linchpin/actions Plugin Check.

with:  build_dir: ./build/plugin-scaffold  build_command: bash scripts/build.sh  php_version: '8.3'  exclude_directories: vendor,node_modules  exclude_checks: plugin_updater
The root .github/workflows/plugin-check.yml omits exclude_checks.

Update URI

overlays/README.md states that the CLI also writes Update URI into the plugin header. This repository does not contain the header line or the writer. The generated plugin header is where that field appears after --channel=self-hosted.

Have a question about this page?

Linchpin assistant

Was this helpful?