mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-06 09:55:48 +02:00
This implements similar behavior to sytest where a matching branch is used, if one exists. This is useful when needing to modify both application code and tests at the same time. The following rules are used to find a matching complement branch: 1. Search for the branch name of the pull request. (E.g. feature/foo.) 2. Search for the base branch of the pull request. (E.g. develop or release-vX.Y.) 3. Search for the reference branch of the commit. (E.g. master or release-vX.Y.) 4. Fallback to 'master', the default complement branch name.
1 line
62 B
Text
1 line
62 B
Text
Fetch the corresponding complement branch when performing CI.
|