Skip to content

Commit e1ef6fb

Browse files
authored
fix some branch name prefixes (#4684)
1 parent f68c3dc commit e1ef6fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
"${{ github.head_ref }}" != release/* && \
1818
"${{ github.head_ref }}" != dependabot/* && \
1919
"${{ github.head_ref }}" != latest && \
20-
"${{ github.head_ref }}" != fe && \
21-
"${{ github.head_ref }}" != be && \
22-
"${{ github.head_ref }}" != e2e && \
20+
"${{ github.head_ref }}" != fe/* && \
21+
"${{ github.head_ref }}" != be/* && \
22+
"${{ github.head_ref }}" != e2e/* && \
2323
"${{ github.head_ref }}" != ric/* ]]; then
2424
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', 'latest' or 'ric/**' branches."
2525
exit 1

0 commit comments

Comments
 (0)