Skip to content

chore(deps-dev): bump storybook from 9.1.11 to 9.1.17 #1139

chore(deps-dev): bump storybook from 9.1.11 to 9.1.17

chore(deps-dev): bump storybook from 9.1.11 to 9.1.17 #1139

name: Enforce Branch Name Rules
on:
pull_request:
branches:
- main
jobs:
enforce-branch-rules:
runs-on: ubuntu-latest
steps:
- name: Check branch name
run: |
echo "Source branch: ${{ github.head_ref }}"
if [[ "${{ github.head_ref }}" != feature/* && \
"${{ github.head_ref }}" != bugfix/* && \
"${{ github.head_ref }}" != release/* && \
"${{ github.head_ref }}" != dependabot/* && \
"${{ github.head_ref }}" != latest && \
"${{ github.head_ref }}" != fe/* && \
"${{ github.head_ref }}" != be/* && \
"${{ github.head_ref }}" != e2e/* && \
"${{ github.head_ref }}" != test/* && \
"${{ github.head_ref }}" != docs/* && \
"${{ github.head_ref }}" != ric/* ]]; then
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', 'latest', 'test/**', 'docs/**', or 'ric/**' branches."
exit 1
fi