Dagger
Search

gh-valid-pr-title

No long description provided.

Installation

dagger install github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@7821d7bc46f16811f768c0ef3e372fcd904f9275

Entrypoint

Return Type
GhValidPrTitle
Example
dagger -m github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@7821d7bc46f16811f768c0ef3e372fcd904f9275 call \
func (m *MyModule) Example() *dagger.GhValidPrTitle  {
	return dag.
			GhValidPrTitle()
}
@function
def example() -> dagger.GhValidPrTitle:
	return (
		dag.gh_valid_pr_title()
	)
@func()
example(): GhValidPrTitle {
	return dag
		.ghValidPrTitle()
}

Types

GhValidPrTitle 🔗

check() 🔗

Checks if a Github PR title is valid

Return Type
String !
Arguments
NameTypeDefault ValueDescription
repoString !-No description provided
branchString !-No description provided
githubTokenSecret !-No description provided
Example
dagger -m github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@7821d7bc46f16811f768c0ef3e372fcd904f9275 call \
 check --repo string --branch string --github-token env:MYSECRET
func (m *MyModule) Example(ctx context.Context, repo string, branch string, githubToken *dagger.Secret) string  {
	return dag.
			GhValidPrTitle().
			Check(ctx, repo, branch, githubToken)
}
@function
async def example(repo: str, branch: str, github_token: dagger.Secret) -> str:
	return await (
		dag.gh_valid_pr_title()
		.check(repo, branch, github_token)
	)
@func()
async example(repo: string, branch: string, githubToken: Secret): Promise<string> {
	return dag
		.ghValidPrTitle()
		.check(repo, branch, githubToken)
}