gh-valid-pr-title
No long description provided.
Installation
dagger install github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@6e5c56039c21380f2999f90ac1a7787b07f66fb5
Entrypoint
Return Type
GhValidPrTitle
Example
dagger -m github.com/vincenzomerolla/daggerverse/gh-valid-pr-title@6e5c56039c21380f2999f90ac1a7787b07f66fb5 call \
func (m *myModule) example() *GhValidPrTitle {
return dag.
GhValidPrTitle()
}
@function
def example() -> dag.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@6e5c56039c21380f2999f90ac1a7787b07f66fb5 call \
check --repo string --branch string --github-token env:MYSECRET
func (m *myModule) example(repo string, branch string, githubToken *Secret) *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)
}