sandwichfarm/AI Slop Badge

Run aislop, generate a Shields endpoint badge JSON file, and optionally commit it.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scan-pathPath to scan.no.
aislop-versionaislop npm package version to run. Pin this in your workflow for a deterministic badge — if you rely on this default, your badge score can change whenever this default is bumped or (if set to a range) whenever a new aislop is published, and it may differ from the version you run locally.no0.12.0
package-runnerPackage runner used to execute aislop. Supported values are npx, pnpm, and bunx.nonpx
badge-filePath where the Shields endpoint JSON badge source should be written.no.github/badges/aislop-score.json
badge-labelLabel shown on the badge.noai slop
badge-message-templateBadge message template. Supported tokens are {score}, {label}, {errors}, {warnings}, and {fixable}.no{score}/100 {label}
badge-colorBadge color override. Leave empty to choose a color from the score.no""
minimum-scoreMinimum acceptable score. Use 0 to disable the score threshold.no0
fail-on-errorFail the action when the aislop scan exits non-zero.notrue
commit-badgeCommit the badge file when it changes.nofalse
pushPush the badge commit after committing. Used only when commit-badge is true.notrue
commit-messageCommit message used when commit-badge is true.nochore: update AI slop score badge [skip ci]
git-user-nameGit author name used when commit-badge is true.nogithub-actions[bot]
git-user-emailGit author email used when commit-badge is true.no41898282+github-actions[bot]@users.noreply.github.com
summaryWrite a concise Markdown summary to the workflow run.notrue
namedescription
scoreNumeric aislop score.
labelaislop score label.
colorBadge color.
errorsNumber of aislop errors.
warningsNumber of aislop warnings.
fixableNumber of fixable aislop issues.
report-filePath to the raw aislop JSON report.
badge-filePath to the generated badge JSON file.
exit-codeExit code returned by the aislop scan.
meets-minimumWhether the score meets minimum-score.
badge-updatedWhether this action committed a badge file update.
commit-shaCommit SHA created by this action, when commit-badge is true and a commit was needed.