backblaze-labs/b2-action - v1.1.0
    Preparing search index...

    Function writeStepSummary

    • Append a markdown summary block to $GITHUB_STEP_SUMMARY. No-ops when the env var is unset (e.g. running the bundle locally for a smoke test).

      Parameters

      • opts: {
            rows: readonly SummaryRow[];
            title: string;
            totalRows?: number;
            totals?: { bytes: number; files: number };
        }
        • rows: readonly SummaryRow[]

          One row per file. Empty rows render an empty table body.

        • title: string

          Heading rendered as ## {title}.

        • OptionaltotalRows?: number

          Optional source row count when callers pre-slice rows.

        • Optionaltotals?: { bytes: number; files: number }

          Optional aggregate line printed above the table.

      Returns Promise<void>