Skip to content

Bump @tinacms/cli from 1.5.53 to 1.6.0 #15

Bump @tinacms/cli from 1.5.53 to 1.6.0

Bump @tinacms/cli from 1.5.53 to 1.6.0 #15

name: Main Branch Protection
on:
pull_request:
branches:
- main
jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
run: |
if [[ ${GITHUB_HEAD_REF} != develop ]] && ! [[ ${GITHUB_HEAD_REF} =~ ^hotfix/ ]];
then
echo "Error: Pull request must come from 'develop' or 'hotfix/' branch"
exit 1
fi