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