github: derive summary table types from core API
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user