Skip to content

Commit 1409259

Browse files
author
Kristiyan Ivanov
authored
Added more branch options to enforce-branch-name-rules.yml (#4636)
I think it makes sense to support also fe - for just front end changes (recently had something like that for an RDI fix) in which cases there is no point in running the BE and integrations tests be - for just api changes. It also happens from time to time and it doesn't make sense to run all of our FE tests, especially how flaky they are. e2e - just for e2e tests. No point in wasting a lot of time (physical and github) to run all of the other tests
1 parent 7d56d63 commit 1409259

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +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 && \
2023
"${{ github.head_ref }}" != ric/* ]]; then
2124
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', 'latest' or 'ric/**' branches."
2225
exit 1

0 commit comments

Comments
 (0)