Skip to content

Update prices - 08-09-2024 22:08:17 #51

Update prices - 08-09-2024 22:08:17

Update prices - 08-09-2024 22:08:17 #51

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/ ]] && ! [[ ${GITHUB_HEAD_REF} =~ ^dependabot/ ]];
then
echo "Error: Pull request must come from 'develop' or 'hotfix/' branch"
exit 1
fi