website: update Kubeflow 1.10 release for Nutanix distribution #281
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Title Validation | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
validate-pr-title: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check PR Title Format | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
run: | | |
VALID_COMPONENTS="central-dashboard|katib|kserve|model-registry|notebooks|pipelines|spark-operator|trainer|gsoc|website|community" | |
if [[ ! "$PR_TITLE" =~ ^($VALID_COMPONENTS):\ .+ ]]; then | |
echo "❌ PR title does not follow the correct format: 'component_name: description'" | |
echo "Component value must be one of these central-dashboard|katib|kserve|model-registry|notebooks|pipelines|spark-operator|trainer|gsoc|website|community" | |
echo "Example: model-registry: Add model registry UI Installation instructions" | |
exit 1 | |
fi | |
echo "✅ PR title format is correct." |