Projects / definy / auto-release core.check-event-merge description Merge rule of a project snapshot: a snapshot that merges another branch (merged_commit_hash) must merge a snapshot of the same project. See docs/branch.md type Fn(commit: @core.project-snapshot , state: @core.event-check-state ) -> List<@core.event-rejection > expression fn(commit$0, state$1) =>
match $0.merged_commit_hash {
#none(_) =>
[],
#some(merged$2) =>
match $1.merged_in_project {
true =>
[],
false =>
[#merged_commit_not_in_project<@core.event-rejection >]
}
} visibility public core.check-event-merge (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: xm4gBjedjMIXjt2psg9IaT0cM6ZwJ8wqu3VFcEBpyIg
content hash: 3rancUGovdEF54uoQkI6broLb0lxofJPWv91TFsmq4Q