Skip to content

Bump actions/setup-python from 3 to 5 #11

Bump actions/setup-python from 3 to 5

Bump actions/setup-python from 3 to 5 #11

name: Branch Name Check
on:
pull_request:
branches:
- main
jobs:
check-branch-name:
runs-on: ubuntu-latest
steps:
- name: Check if the branch name follows the version pattern
run: |
if [[ ! ${{ github.head_ref }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Branch name ${{ github.head_ref }} does not follow the required version pattern vX.Y.Z"
exit 1
fi