Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
8cf148726a
commit
f5ba46186b
@ -89,6 +89,7 @@ impl Default for CuddleCI {
|
|||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait PullRequestAction {
|
pub trait PullRequestAction {
|
||||||
async fn validate(&self) -> eyre::Result<()> {
|
async fn validate(&self) -> eyre::Result<()> {
|
||||||
|
eprintln!("validate pull request: noop");
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -100,6 +101,7 @@ impl PullRequestAction for DefaultPullRequestAction {}
|
|||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait MainAction {
|
pub trait MainAction {
|
||||||
async fn validate(&self) -> eyre::Result<()> {
|
async fn validate(&self) -> eyre::Result<()> {
|
||||||
|
eprintln!("validate main: noop");
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,6 +113,8 @@ impl MainAction for DefaultMainAction {}
|
|||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait ReleaseAction {
|
pub trait ReleaseAction {
|
||||||
async fn validate(&self) -> eyre::Result<()> {
|
async fn validate(&self) -> eyre::Result<()> {
|
||||||
|
eprintln!("validate release: noop");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user