drape-io/Drape Upload

Upload coverage, tests, scans, or lint results to Drape and post PR comments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandUpload command: coverage, tests, scan, lintyes
fileFile path(s) or glob pattern(s) to upload (space or newline separated, e.g. "coverage/*.xml")yes
api-keyDrape API keyyes
orgDrape organization slug (default: derived from github.repository_owner)no
repoDrape repository name (default: github.repository)no
cli-versionDrape CLI version to install (default: latest)nolatest
api-urlDrape API URLnohttps://app.drape.io
waitWait for server-side processingnotrue
wait-timeoutMax wait time, e.g. 90s, 3m, 10m, 1h30mno10m
verboseEnable verbose CLI outputnofalse
groupGroup label(s) for this uploadno
formatFile format (coverage: cobertura/lcov/go, tests: junit/ctrf, scan: sarif/cyclonedx/grype-json/trivy-json, lint: sarif)no
path-prefixPath prefix mapping for coverage filesno
target-branchTarget branch for PR diff (auto-detected)no
shard-keyShared identifier across sibling matrix shards (auto-derived from GITHUB_RUN_ID when unset)no
total-shardsTotal coverage shards across all CI jobs in this run; must be >= 2 (coverage only)no
drape-run-idDrape run ID to correlate triggered CI runs; only used with coverage or tests (env fallback: DRAPE_RUN_ID)no
scan-nameScan name (e.g. docker image name)no
scan-tagScan tag (e.g. image tag, version)no
scan-typeScan type: image or dependencyno
fail-on-vulnerabilitiesExit non-zero if unsuppressed vulnerabilities foundnofalse
fail-on-severityMinimum severity to fail on: critical, high, medium, low, anynomedium
job-nameCI job name (auto-detected)no
commentPost a PR comment with resultsnotrue
comment-headerSticky comment header ID (default: drape-{command})no
comment-titleVisible title in the PR comment (default: "Drape: {Command} — {group}")no
github-tokenGitHub token for posting PR commentsno${{ github.token }}
namedescription
exit-codeCLI exit code
result-jsonRaw JSON result from the CLI
passedWhether the check passed (true/false)
comment-bodyThe generated comment markdown