Skip to content

feat: Add Nebius studio tools and openAIlike #156

feat: Add Nebius studio tools and openAIlike

feat: Add Nebius studio tools and openAIlike #156

Workflow file for this run

name: PR Lint
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
lint-pr:
name: Lint PR Title and Body
runs-on: ubuntu-latest
steps:
- name: Check PR Title Format
run: |
TITLE="${{ github.event.pull_request.title }}"
TITLE_LOWER=$(echo "$TITLE" | tr '[:upper:]' '[:lower:]')
REGEX="^(\[(feat|fix|docs|test|refactor|build|ci|chore|perf|style|revert)\]\\s*.+|(feat|fix|docs|test|refactor|build|ci|chore|perf|style|revert):\\s*.+)"
if [[ ! "$TITLE_LOWER" =~ $REGEX ]]; then
echo "❌ PR Title '$TITLE' does not match the required format '[type] subject' or 'type: subject'."
echo " Please start your PR title with a valid type like [feat], [fix], feat:, fix:, etc., followed by a space and the subject."
exit 1
else
echo "✅ PR Title format is valid."
fi