pub struct AdoPrTriggers {
pub branches: Vec<String>,
pub exclude_branches: Vec<String>,
pub run_on_draft: bool,
pub auto_cancel: bool,
}
Expand description
Trigger ADO pipelines per PR
Fields§
§branches: Vec<String>
Run the pipeline whenever there is a PR to these specified branches (supports glob syntax)
exclude_branches: Vec<String>
Specify any branches which should be filtered out from the list of
branches
(supports glob syntax)
run_on_draft: bool
Run the pipeline even if the PR is a draft PR. Defaults to false
.
auto_cancel: bool
Automatically cancel the pipeline run if a new commit lands in the
branch. Defaults to true
.
Trait Implementations§
Source§impl Debug for AdoPrTriggers
impl Debug for AdoPrTriggers
Auto Trait Implementations§
impl Freeze for AdoPrTriggers
impl RefUnwindSafe for AdoPrTriggers
impl Send for AdoPrTriggers
impl Sync for AdoPrTriggers
impl Unpin for AdoPrTriggers
impl UnwindSafe for AdoPrTriggers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more