From dc428a9c0ca6bc285fd2a5b400e8679be68f3150 Mon Sep 17 00:00:00 2001 From: Gregory Nickonov Date: Sat, 6 Dec 2025 22:07:28 +0300 Subject: [PATCH] chore: Update GitVersion branch regex and CI permissions - Add pull-request branch regex and namespace configurations in GitVersion.yml. - Grant `contents: write` permission in CI workflow. --- .github/workflows/ci.yml | 1 + GitVersion.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 386bb6a..9832398 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI permissions: checks: write + contents: write pull-requests: write on: diff --git a/GitVersion.yml b/GitVersion.yml index 181733b..3345bb1 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -17,7 +17,15 @@ branches: regex: ^feature[/-] increment: Patch is-release-branch: false + track-merge-target: true label: alpha + pull-request: + regex: ^(pull|pull\-requests|pr)[\/-](?\d*) + increment: Inherit + is-release-branch: false + track-merge-target: true + label: pr-{Number} + ignore: sha: [] \ No newline at end of file