| |
}
|
| |
Self::TagCreated => {
|
| |
let allowed = matches!(event, CiEvent::V1(CiEventV1::TagCreated { .. }));
|
| - |
Decision::new("BranchCreated", allowed, "")
|
| + |
Decision::new("TagCreated", allowed, "")
|
| |
}
|
| |
Self::TagUpdated => {
|
| |
let allowed = matches!(event, CiEvent::V1(CiEventV1::TagUpdated { .. }));
|
| - |
Decision::new("BranchUpdated", allowed, "")
|
| + |
Decision::new("TagUpdated", allowed, "")
|
| |
}
|
| |
Self::TagDeleted => {
|
| |
let allowed = matches!(event, CiEvent::V1(CiEventV1::TagDeleted { .. }));
|
| - |
Decision::new("BranchDeleted", allowed, "")
|
| + |
Decision::new("TagDeleted", allowed, "")
|
| |
}
|
| |
Self::Patch(wanted) => {
|
| |
let actual = event.patch_id();
|