GitHub Actions outputs#
Two commands print step outputs in the format of $GITHUB_OUTPUT: repoplone settings github-outputs and repoplone changelog check --github.
Each output is a name=value line.
A multi-line output uses the name<<DELIMITER form, ended by a line holding only the delimiter.
JSON values are compact, on one line.
settings github-outputs#
The outputs come in this order.
Output |
Format |
Value |
|---|---|---|
|
JSON list |
One object per component. See Component object. |
|
JSON list |
One object per enabled package. See Package object. |
|
text |
|
|
text |
The version of the component’s base package. One line per component. |
|
text |
The Volto core version of a |
|
multi-line, delimiter |
A |
A repository without [[component]] tables reports its implicit backend and frontend components.
Component object#
Key |
Type |
Value |
|---|---|---|
|
string |
Component name. |
|
string |
Component type, such as |
|
string |
Folder of the component, relative to the repository root. |
|
string |
Base package, or empty. |
|
string |
Version of the base package the component pins, or empty. |
|
string |
Volto core version of a |
|
string |
|
|
list of strings |
Names of the packages that list the component. |
|
list of strings |
Glob patterns of the folders whose changes affect the component: its own folder, then the folders of its packages that are outside it. |
Package object#
Key |
Type |
Value |
|---|---|---|
|
string |
Package name. |
|
string |
Package type, such as |
|
string |
|
|
string |
Folder of the package, relative to the repository root. |
|
string |
Current version of the package. |
|
boolean |
Whether the release publishes the package. |
|
string |
Changelog file, relative to the repository root. |
|
string |
towncrier configuration file, relative to the repository root. |
|
list of strings |
Names of the components the package belongs to. |
changelog check --github#
Output |
Format |
Value |
|---|---|---|
|
JSON list of strings |
Names of the areas that require a news fragment and have none. |
|
JSON list |
One object per area, with |
|
multi-line, delimiter |
A Markdown table of the areas, for |
The command exits with 1 when missing is not empty, after printing the outputs.
changelog check --json#
--json prints one JSON object.
Key |
Type |
Value |
|---|---|---|
|
string |
The branch compared with, as given to |
|
list |
One object per area. See below. |
|
list of strings |
Names of the areas that require a fragment and have none. |
|
list of strings |
Changed files that no area holds, relative to the repository root. |
Each area object has these keys.
Key |
Type |
Value |
|---|---|---|
|
string |
Package name, or |
|
string |
Folder the area owns, relative to the repository root. |
|
string |
Folder of the area’s news fragments. |
|
boolean |
Whether a file of the area changed. |
|
boolean |
Whether the change adds a news fragment to the area. |
|
boolean |
|
|
list of strings |
Changed files of the area. Only in |
|
list of strings |
News fragments the change adds. Only in |
See also
Use repoplone in GitHub Actions, for a workflow built on these outputs.
Check news fragments in CI, for the news fragment check.