v4lproik/github-actionspec

Capture or validate normalized GitHub Actions workflow payloads against repository-owned CUE declarations.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
modeAction mode. Supported values are `emit-fragment`, `capture`, and `validate-repo`.novalidate-repo
emit-jobJob id to write into the fragment in emit-fragment mode.no""
emit-resultJob result to write into the fragment in emit-fragment mode.no""
emit-outputsOptional newline-separated list of KEY=VALUE job outputs for emit-fragment mode.no""
emit-matrixOptional newline-separated list of KEY=VALUE matrix entries for emit-fragment mode.no""
emit-step-conclusionsOptional newline-separated list of STEP_ID=CONCLUSION values for emit-fragment mode.no""
emit-step-outputsOptional newline-separated list of STEP_ID.OUTPUT_NAME=VALUE values for emit-fragment mode.no""
emit-filePath where the action should write the job fragment JSON in emit-fragment mode. When omitted, the action writes under the runner temp directory.no""
repoPath to the target repository containing .github/actionspec declarations.no.
workflowWorkflow file name to capture or validate. Optional for validate-repo when the provided payloads all belong to the same workflow.no""
ref-nameOptional workflow ref recorded in capture mode.no""
capture-job-filesPath to one job fragment JSON file, a directory of fragment JSON files, a glob pattern, or a newline-separated list of those inputs for capture mode.no.github/actionspec-fragments
capture-inputsOptional newline-separated list of KEY=VALUE workflow inputs recorded in capture mode.no""
capture-filePath where the action should write the normalized workflow payload in capture mode. When omitted, the action writes under the runner temp directory.no""
actualPath to a normalized workflow run JSON payload, a directory of JSON payloads, a glob pattern, or a newline-separated list of payload paths or glob patterns.no.github/actionspec-artifacts
declarations-dirPath to the declarations directory inside the target repository.no.github/actionspec
report-filePath where the action should write the JSON validation report. When omitted, the action writes under the runner temp directory.no""
baseline-reportOptional path to a previous JSON validation report used to render dashboard diffs.no""
dashboard-filePath where the action should write the markdown matrix dashboard. When omitted, the action writes `dashboard.md` next to `report-file`.no""
dashboard-output-keysOptional newline-separated list of job output keys to render in the dashboard and PR comment.no""
write-summaryWhether to append the rendered dashboard to the GitHub Actions job summary.notrue
comment-prWhether to upsert the rendered dashboard as a PR comment when the workflow runs on a pull request.nofalse
comment-titleTitle used for the PR comment when comment-pr is enabled.noWorkflow Matrix Dashboard
comment-tagStable tag used to find and update the existing PR matrix comment.nogithub-actionspec-matrix
github-tokenGitHub token used for PR comment upserts when comment-pr is enabled.no""
namedescription
fragment-pathPath to the job fragment JSON written by the action in emit-fragment mode.
capture-pathPath to the normalized workflow payload written by the action in capture mode.
report-pathPath to the JSON validation report written by the action.
dashboard-pathPath to the markdown dashboard written by the action.