Browse Source

Add pull_request against main branches

FIXME:
A PR against a release branch will now get the alpha requirements out
of the conandata.yml

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
85d3bb1a3a
1 changed files with 13 additions and 0 deletions
  1. 13 0
      GitVersion.yml

+ 13 - 0
GitVersion.yml

@@ -37,6 +37,19 @@ branches:
         is-release-branch: true
         is-mainline: false
         pre-release-weight: 30000
+    pull-request-main:
+        regex: ^(pull|pull\-requests|pr)[/-]
+        mode: ContinuousDelivery
+        tag: alpha+
+        increment: Inherit
+        prevent-increment-of-merged-branch-version: true
+        tag-number-pattern: '[/-](?<number>\d+)[-/]'
+        track-merge-target: true
+        source-branches: [ 'main' ]
+        tracks-release-branches: false
+        is-release-branch: false
+        is-mainline: false
+        pre-release-weight: 30000
 ignore:
     sha: [ ]
 merge-message-formats: { }