hooks: Re-export *Action types
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
1ad82dfeac
commit
0a02d85563
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ pub use crate::hooks::forgejo::ForgejoHook;
|
||||||
#[allow(deprecated)]
|
#[allow(deprecated)]
|
||||||
pub use crate::hooks::gitlab::GitlabHook;
|
pub use crate::hooks::gitlab::GitlabHook;
|
||||||
pub use crate::hooks::types::Hook;
|
pub use crate::hooks::types::Hook;
|
||||||
use crate::hooks::types::{IssueAction, MergeRequestAction, WikiAction};
|
pub use crate::hooks::types::{IssueAction, MergeRequestAction, WikiAction};
|
||||||
|
|
||||||
pub fn format_hook(hook: &Hook) -> Option<String> {
|
pub fn format_hook(hook: &Hook) -> Option<String> {
|
||||||
Some(match hook {
|
Some(match hook {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue