diff --git a/src/cli/cli.ts b/src/cli/cli.ts index 37bd915..b561723 100644 --- a/src/cli/cli.ts +++ b/src/cli/cli.ts @@ -114,7 +114,6 @@ program.command('run-action') workflowRunCompletionTimeout, secret: secrets, syncSecrets, - version, } = options; const token = process.env.GITHUB_TOKEN; if (!token) { @@ -143,7 +142,7 @@ program.command('run-action') workflowRunCompletionTimeoutMs: workflowRunCompletionTimeout, secrets, syncSecrets, - version, + version: packageJson.version, }); } catch (e) { logger.error(e); diff --git a/src/lib/GitHubActionsRunner.ts b/src/lib/GitHubActionsRunner.ts index 6346809..c2fa54a 100644 --- a/src/lib/GitHubActionsRunner.ts +++ b/src/lib/GitHubActionsRunner.ts @@ -152,7 +152,7 @@ export class GitHubActionsRunner { * @param root0.workflowRunCompletionTimeoutMs Wait for workflow run completion timeout. * @param root0.secrets Secrets to pass to the action. * @param root0.syncSecrets Sync secrets with the repository. - * @param root0.version github actions runner version. + * @param root0.version A github-actions-runner version. * @returns A promise that resolves when the action is completed. * @throws Error if something went wrong. */