Skip to content

Release/v0.3.4

Release/v0.3.4 #27

name: Check PR to master
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Get current branch name
run: |
echo ${{ github.head_ref }}
if [[ ! ${{ github.head_ref }} =~ ^(release|hotfix)/ ]]; then
echo "PR to master must come from a release or hotfix branch"
exit 1
fi