pub struct TrunkGuards<'a> {
pub integration: Integration,
pub release: bool,
pub trunk_commit: &'a str,
pub trunk_push: &'a str,
pub local_trunk_commit: &'a str,
pub local_trunk_push: &'a str,
pub tag_guard: &'a str,
pub release_files: &'a str,
pub sweep_skip: &'a str,
pub sweep_none: &'a str,
pub integrate_note: &'a str,
}Expand description
The authored guard entries the integration mode selects between, beside the mode itself, and the release mode’s tag guard.
Fields§
§integration: IntegrationWhich authority moves an implementation onto the trunk.
release: boolWhether the record names a release: any mode but none. It decides
the tag guard and whether the commit hook requires a scope.
trunk_commit: &'a strThe no-commit-to-branch entry that refuses a trunk commit under
forge integration.
trunk_push: &'a strThe rk-no-push-to-trunk entry that refuses a trunk push under
forge integration.
local_trunk_commit: &'a strThe no-commit-to-branch entry that refuses a trunk commit under
local integration, at the pre-commit stage alone.
local_trunk_push: &'a strThe two pre-push entries that refuse a force push and a merge commit on the trunk under local integration.
tag_guard: &'a strThe rk-no-hand-authored-tag entry.
release_files: &'a strThe release files the status check watches, as one pattern fragment.
sweep_skip: &'a strThe header note naming what a CI sweep skips.
sweep_none: &'a strThe header note for the pairing where a sweep skips nothing.
integrate_note: &'a strThe header note naming the pre-integrate contract.