Skip to content

Commit e114600

Browse files
author
Kristiyan Ivanov
authored
Merge pull request #4591 from RedisInsight/feature/allow-latest-branch-merges
DEV: Allow merges from latest branch
2 parents 9c1432f + f39d9f5 commit e114600

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/enforce-branch-name-rules.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
"${{ github.head_ref }}" != bugfix/* && \
1717
"${{ github.head_ref }}" != release/* && \
1818
"${{ github.head_ref }}" != dependabot/* && \
19+
"${{ github.head_ref }}" != latest && \
1920
"${{ github.head_ref }}" != ric/* ]]; then
20-
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', or 'ric/**' branches."
21+
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', 'latest' or 'ric/**' branches."
2122
exit 1
2223
fi

0 commit comments

Comments
 (0)