Skip to content

[pre-commit.ci] pre-commit autoupdate #4

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #4

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