Skip to content

chore(deps): bump next from 13.5.7-canary.37 to 14.2.10 #12

chore(deps): bump next from 13.5.7-canary.37 to 14.2.10

chore(deps): bump next from 13.5.7-canary.37 to 14.2.10 #12

Workflow file for this run

name: Prevent Non-Release/Non-Hotfix PRs to Main
on:
pull_request:
branches:
- main
pull_request_target:
branches:
- main
jobs:
check-target-branch:
if: github.base_ref == 'main'
runs-on: ubuntu-latest
steps:
- name: Check if the source branch is a release branch
run: |
if [[ "${{ github.head_ref }}" != release/* && "${{ github.head_ref }}" != hotfix/* ]]; then
echo "Only release and hotfix branches can be merged into the main branch."
exit 1
fi