import type { getOctokit } from '@actions/github'; import { type Project, type ReleaserOptions, type ReleaserSetUserOptions, Releaser } from '@simple-release/core'; import { GithubHosting } from '@simple-release/github'; export interface ReleaserGithubActionOptions
extends Omit extends Releaser {
hosting: GithubHosting;
constructor(options: ReleaserGithubActionOptions );
setUser(options?: ReleaserSetUserOptions): this;
checkout(branch?: string): this;
/**
* Fetches options from the pull request comments.
* @returns Project releaser instance for chaining.
*/
fetchOptions(): this;
/**
* Apply preambles collected from pull request comments as bump options.
* A global preamble becomes `bump.preamble`; per-package preambles are merged
* into `bump.byProject[name].preamble` (keyed by full package name),
* preserving any existing `byProject` entries.
* @param preamble - The global preamble, if any.
* @param preambleByName - Preambles keyed by full package name.
*/
private applyPreamble;
/**
* Fetch all commits and tags from the remote repository.
* @returns Project releaser instance for chaining.
*/
fetch(): this;
tag(): this;
push(): this;
/**
* Run all steps to create a pull request.
*/
runPullRequestAction(): Promise