mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2026-04-28 17:22:08 -06:00
6c0a4f8651
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
15 lines
647 B
TypeScript
15 lines
647 B
TypeScript
import { AnnotationProperties } from './core.js';
|
|
import { CommandProperties } from './command.js';
|
|
/**
|
|
* Sanitizes an input into a string so it can be passed into issueCommand safely
|
|
* @param input input to sanitize into a string
|
|
*/
|
|
export declare function toCommandValue(input: any): string;
|
|
/**
|
|
*
|
|
* @param annotationProperties
|
|
* @returns The command properties to send with the actual annotation command
|
|
* See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646
|
|
*/
|
|
export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties;
|