gh-valid-pr-title
No long description provided.
Installation
dagger install github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@1b0f3025fb8979aab1667c03bd53c01eb53f1090Entrypoint
Return Type
GhValidPrTitle Example
dagger -m github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@1b0f3025fb8979aab1667c03bd53c01eb53f1090 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
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| repo | String ! | - | No description provided |
| branch | String ! | - | No description provided |
| githubToken | Secret ! | - | No description provided |
Example
dagger -m github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@1b0f3025fb8979aab1667c03bd53c01eb53f1090 call \
check --repo string --branch string --github-token env:MYSECRETfunc (m *MyModule) Example(repo string, branch string, githubToken *dagger.Secret) *dagger.Container {
return dag.
GhValidPrTitle().
Check(repo, branch, githubToken)
}@function
def example(repo: str, branch: str, github_token: dagger.Secret) -> dagger.Container:
return (
dag.gh_valid_pr_title()
.check(repo, branch, github_token)
)@func()
example(repo: string, branch: string, githubToken: Secret): Container {
return dag
.ghValidPrTitle()
.check(repo, branch, githubToken)
}