github: derive summary table types from core API

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2026-01-28 12:16:30 +01:00
parent 9348f81855
commit 2617546094
2 changed files with 5 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
* limitations under the License.
*/
import * as core from '@actions/core';
import {AnnotationProperties} from '@actions/core';
import {components as OctoOpenApiTypes} from '@octokit/openapi-types';
import {JwtPayload} from 'jwt-decode';
@@ -21,6 +22,9 @@ import {JwtPayload} from 'jwt-decode';
import {BakeDefinition} from './buildx/bake.js';
import {ExportResponse} from './buildx/history.js';
export type SummaryTableRow = Parameters<typeof core.summary.addTable>[0][number];
export type SummaryTableCell = Exclude<SummaryTableRow[number], string>;
export interface GitHubRelease {
id: number;
tag_name: string;