Skip to content

Validate branches on creation #84

Validate branches on creation

Validate branches on creation #84

name: Validate branches on creation
on:
create:
branches-ignore:
- main
- dev
- imgbot/*
- fix/*
- hotfix/*
jobs:
validate:
name: Validate branch name
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate branch name
run: |
chmod +x ./scripts/validate-branches-on-creation.sh
./scripts/validate-branches-on-creation.sh ${{ github.ref }}