gen-action-yml

command
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command gen-action-yml generates the project's action.yml from the embedded plugin / template metadata.yml files + core input definitions. The generated action.yml is the GitHub Action interface definition; metadata.yml is the runtime input definition. Both must stay in sync so callers (action.yml `with:`) and the runtime (INPUT_<UPPER> env) see the same input shape.

Run via `make gen-action-yml`. The lefthook pre-commit hook gates drift (`git diff --quiet action.yml` after re-running the command).

The generator walks `assets/plugins/<slug>/metadata.yml` for the adopted plugin set (constitution 原則 III). `core` contributes the shared inputs (token / user / repo / committer_* / filename / output / etc.) without any `plugin_<slug>` gate. `base` contributes its section selector and repository-fetching inputs without any `plugin_base` gate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL