balvajs/PR Beacon

Posts and updates a sticky PR comment with CI information, warnings, and failures.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub token (GITHUB_TOKEN) used to post PR comments.yes
json-filePath to a JSON file that defines the full beacon payload. Use this when you need multiple rows or markdown sections. Schema: { "fails": [ string | { message, icon?, id? } ], "warnings": [ string | { message, icon?, id? } ], "messages": [ string | { message, icon?, id? } ], "markdowns": [ string | { message, id? } ], "options": { "contentIdsToUpdate"?: string[], "replaceMode"?: "in-place" | "append" } } no""
failA single failure message to add to the Fails table.no""
fail-iconIcon for the fail entry (e.g. "💥"). Only used when `fail` is set.no""
fail-idID for the fail entry, used for upsert. Only used when `fail` is set.no""
warnA single warning message to add to the Warnings table.no""
warn-iconIcon for the warn entry. Only used when `warn` is set.no""
warn-idID for the warn entry, used for upsert. Only used when `warn` is set.no""
messageA single message to add to the Messages table.no""
message-iconIcon for the message entry. Only used when `message` is set.no""
message-idID for the message entry, used for upsert. Only used when `message` is set.no""
markdownA single markdown block to add to the comment.no""
markdown-idID for the markdown entry, used for upsert. Only used when `markdown` is set.no""
content-ids-to-updateComma-separated list of content IDs that should be removed before new content is added. Useful in subsequent jobs that own specific named sections. no""
replace-modeControls how updated table rows are positioned relative to existing rows. 'in-place' (default): rows replace at the position of the first old row with the same ID. 'append': old rows are removed and new rows are appended at the end of the table. no""
fail-on-fail-messageIf true, the action will fail (exit with non-zero code) if there is a fail message in the beacon. nofalse

no outputs