From f39d9f55480935bf65f1850434a70c2330221c00 Mon Sep 17 00:00:00 2001 From: Pavel Angelov Date: Wed, 28 May 2025 11:01:22 +0300 Subject: [PATCH] DEV: allow merges from latest branch --- .github/workflows/enforce-branch-name-rules.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/enforce-branch-name-rules.yml b/.github/workflows/enforce-branch-name-rules.yml index 94a9e97ad2..84da9813c3 100644 --- a/.github/workflows/enforce-branch-name-rules.yml +++ b/.github/workflows/enforce-branch-name-rules.yml @@ -16,7 +16,8 @@ jobs: "${{ github.head_ref }}" != bugfix/* && \ "${{ github.head_ref }}" != release/* && \ "${{ github.head_ref }}" != dependabot/* && \ + "${{ github.head_ref }}" != latest && \ "${{ github.head_ref }}" != ric/* ]]; then - echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', or 'ric/**' branches." + echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', 'latest' or 'ric/**' branches." exit 1 fi